(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and

IS_INTERACTIVE_PLAYER
This commit is contained in:
Darkvater
2006-10-14 15:15:56 +00:00
parent 91ac1fa186
commit 2dcdeb985d
12 changed files with 39 additions and 32 deletions

View File

@@ -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);
}
}
}