correct #define NEW_UNIT used
This commit is contained in:
parent
124a8da301
commit
47bba5442a
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ global void HandleActionReturnGoods(Unit* unit)
|
|||
}
|
||||
unit->Command.Data.Move.Fast=1;
|
||||
unit->Command.Data.Move.Goal=destu;
|
||||
#ifdef NEW_UNITS
|
||||
#ifdef NEW_UNIT
|
||||
++destu->Refs;
|
||||
#endif
|
||||
unit->Command.Data.Move.Range=1;
|
||||
|
@ -78,7 +78,7 @@ global void HandleActionReturnGoods(Unit* unit)
|
|||
}
|
||||
unit->Command.Data.Move.Fast=1;
|
||||
unit->Command.Data.Move.Goal=destu;
|
||||
#ifdef NEW_UNITS
|
||||
#ifdef NEW_UNIT
|
||||
++destu->Refs;
|
||||
#endif
|
||||
unit->Command.Data.Move.Range=1;
|
||||
|
@ -108,7 +108,7 @@ global void HandleActionReturnGoods(Unit* unit)
|
|||
}
|
||||
unit->Command.Data.Move.Fast=1;
|
||||
unit->Command.Data.Move.Goal=destu;
|
||||
#ifdef NEW_UNITS
|
||||
#ifdef NEW_UNIT
|
||||
++destu->Refs;
|
||||
#endif
|
||||
unit->Command.Data.Move.Range=1;
|
||||
|
|
Loading…
Add table
Reference in a new issue