From de8c95506b43e78b405615a9185825fa54c0d380 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 25 Feb 2008 02:09:04 +0000 Subject: (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer --- src/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine.cpp b/src/engine.cpp index bd50a9f61..699486c1e 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -218,7 +218,7 @@ static PlayerID GetBestPlayer(uint8 pp) if (best_player == PLAYER_SPECTATOR) return PLAYER_SPECTATOR; SetBit(mask, best_player); - } while (--p != 0); + } while (--pp != 0); return best_player; } -- cgit v1.2.3-70-g09d2