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
commit2dcdeb985d481ca44208d8d675eda31db7d4c9ff (patch)
tree2149ebda4f454f9dd52f174d0062275bb83fd28f /engine.c
parent91ac1fa1864d556127ba692f30d67df618fd7063 (diff)
downloadopenttd-2dcdeb985d481ca44208d8d675eda31db7d4c9ff.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);
}
}
}