(svn r4129) - CodeChange: Add proper bool type for is_ai as well...it is a bool type.

pull/155/head
Darkvater 18 years ago
parent e91fa54a15
commit 921a4d8a13

@ -1034,7 +1034,7 @@ static bool LoadOldPlayer(LoadgameState *ls, int num)
} else {
/* Beside some multiplayer maps (1 on 1), which we don't official support,
all other players are an AI.. mark them as such */
p->is_ai = 1;
p->is_ai = true;
}
/* Sometimes it is better to not ask.. in old scenarios, the money

@ -182,7 +182,7 @@ typedef struct Player {
int32 bankrupt_value;
bool is_active;
byte is_ai;
bool is_ai;
PlayerAI ai;
PlayerAiNew ainew;

Loading…
Cancel
Save