correct #define NEW_UNIT used

This commit is contained in:
johns 2000-05-07 23:13:47 +00:00
parent 124a8da301
commit 47bba5442a

View file

@ -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;