diff options
Diffstat (limited to 'src/ai/trolly')
-rw-r--r-- | src/ai/trolly/trolly.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ai/trolly/trolly.cpp b/src/ai/trolly/trolly.cpp index fb0263d41..1f540ceed 100644 --- a/src/ai/trolly/trolly.cpp +++ b/src/ai/trolly/trolly.cpp @@ -97,7 +97,6 @@ static void AiNew_State_Nothing(Player *p) // - Build HQ static void AiNew_State_WakeUp(Player *p) { - int32 money; int c; assert(p->ainew.state == AI_STATE_WAKE_UP); // First, check if we have a HQ @@ -111,7 +110,7 @@ static void AiNew_State_WakeUp(Player *p) return; } - money = p->player_money - AI_MINIMUM_MONEY; + Money money = p->player_money - AI_MINIMUM_MONEY; // Let's pick an action! if (p->ainew.action == AI_ACTION_NONE) { |