diff options
author | Darkvater <Darkvater@openttd.org> | 2006-03-26 22:25:29 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-03-26 22:25:29 +0000 |
commit | 921a4d8a1364138252c23d6464a542e5066321cc (patch) | |
tree | 7263df3d772744b19f77ab14eca21bd39086dfb5 | |
parent | e91fa54a157e73958e2bc7cbf212c8ef7df75d6b (diff) | |
download | openttd-921a4d8a1364138252c23d6464a542e5066321cc.tar.xz |
(svn r4129) - CodeChange: Add proper bool type for is_ai as well...it is a bool type.
-rw-r--r-- | oldloader.c | 2 | ||||
-rw-r--r-- | player.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oldloader.c b/oldloader.c index 60efe0a95..f8d9c975e 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 @@ -182,7 +182,7 @@ typedef struct Player { int32 bankrupt_value; bool is_active; - byte is_ai; + bool is_ai; PlayerAI ai; PlayerAiNew ainew; |