diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index ab8aed61d..3808c46a8 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -342,11 +342,11 @@ void EnginesDailyLoop() DeleteWindowById(WC_ENGINE_PREVIEW, i); e->preview_player_rank++; } - } else if (e->preview_player_rank != PLAYER_SPECTATOR) { + } else if (e->preview_player_rank != 0xFF) { PlayerID best_player = GetBestPlayer(e->preview_player_rank); if (best_player == PLAYER_SPECTATOR) { - e->preview_player_rank = PLAYER_SPECTATOR; + e->preview_player_rank = 0xFF; continue; } |