diff --git a/oldloader.c b/oldloader.c index 60efe0a95c..f8d9c975e7 100644 --- a/oldloader.c +++ b/oldloader.c @@ -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 diff --git a/player.h b/player.h index e6ed1fe2e7..3195e1c7ff 100644 --- a/player.h +++ b/player.h @@ -182,7 +182,7 @@ typedef struct Player { int32 bankrupt_value; bool is_active; - byte is_ai; + bool is_ai; PlayerAI ai; PlayerAiNew ainew;