(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
authorsmatz
Mon, 25 Feb 2008 02:09:04 +0000
changeset 8633 454accf1533b
parent 8632 2b48de850547
child 8634 496c3fb47daf
(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
src/engine.cpp
--- a/src/engine.cpp	Sun Feb 24 22:20:31 2008 +0000
+++ b/src/engine.cpp	Mon Feb 25 02:09:04 2008 +0000
@@ -218,7 +218,7 @@
 		if (best_player == PLAYER_SPECTATOR) return PLAYER_SPECTATOR;
 
 		SetBit(mask, best_player);
-	} while (--p != 0);
+	} while (--pp != 0);
 
 	return best_player;
 }