Why was this changed? It stops peasants from moving to wood that has already been discovered.

This commit is contained in:
jsalmon3 2003-01-07 23:03:55 +00:00
parent cc1806c902
commit c3d94cec65

View file

@ -69,7 +69,7 @@ local int MoveToWood(Unit* unit)
if( i==PF_UNREACHABLE ) {
newtry:
if( !FindWoodInSight(unit,&unit->Orders[0].X,&unit->Orders[0].Y) ) {
if( FindWoodInSight(unit,&unit->Orders[0].X,&unit->Orders[0].Y) ) {
// Move to new wood position
unit->Orders[0].Goal=NoUnitP;