Why was this changed? It stops peasants from moving to wood that has already been discovered.
This commit is contained in:
parent
cc1806c902
commit
c3d94cec65
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue