(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer

This commit is contained in:
smatz
2008-02-25 02:09:04 +00:00
parent c78b1b388e
commit de8c95506b

View File

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