forked from mirror/OpenTTD
(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
IS_INTERACTIVE_PLAYER
This commit is contained in:
4
engine.c
4
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user