diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:15:56 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:15:56 +0000 |
commit | 68c0320be653cf4d966cb0e15532264db304f438 (patch) | |
tree | 2149ebda4f454f9dd52f174d0062275bb83fd28f /engine.c | |
parent | 0da1dc314b2fc38a54c0c77e80a268233314ee7b (diff) | |
download | openttd-68c0320be653cf4d966cb0e15532264db304f438.tar.xz |
(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
IS_INTERACTIVE_PLAYER
Diffstat (limited to 'engine.c')
-rw-r--r-- | engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -268,13 +268,13 @@ void EnginesDailyLoop(void) continue; } - if (!IS_HUMAN_PLAYER(best_player)) { + if (!IsHumanPlayer(best_player)) { /* XXX - TTDBUG: TTD has a bug here ???? */ AcceptEnginePreview(e, best_player); } else { e->flags |= ENGINE_PREVIEWING; e->preview_wait = 20; - if (IS_INTERACTIVE_PLAYER(best_player)) ShowEnginePreviewWindow(i); + if (IsInteractivePlayer(best_player)) ShowEnginePreviewWindow(i); } } } |