From 47bba5442af620647ba3042d104a178991afbd95 Mon Sep 17 00:00:00 2001 From: johns <> Date: Sun, 7 May 2000 23:13:47 +0000 Subject: [PATCH] correct #define NEW_UNIT used --- src/action/action_returngoods.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/action/action_returngoods.cpp b/src/action/action_returngoods.cpp index 17f0dba1f..55ea78a31 100644 --- a/src/action/action_returngoods.cpp +++ b/src/action/action_returngoods.cpp @@ -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;