summaryrefslogtreecommitdiff
path: root/engine.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-14 15:15:56 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-14 15:15:56 +0000
commit68c0320be653cf4d966cb0e15532264db304f438 (patch)
tree2149ebda4f454f9dd52f174d0062275bb83fd28f /engine.c
parent0da1dc314b2fc38a54c0c77e80a268233314ee7b (diff)
downloadopenttd-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine.c b/engine.c
index 049b7295e..02270e311 100644
--- a/engine.c
+++ b/engine.c
@@ -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);
}
}
}