src/cheat_gui.cpp
changeset 9652 0405e98d8e96
parent 9457 75f11a6caef8
child 9659 187142ff9b6c
--- a/src/cheat_gui.cpp	Thu Jul 17 16:38:26 2008 +0000
+++ b/src/cheat_gui.cpp	Thu Jul 17 20:13:01 2008 +0000
@@ -44,7 +44,7 @@
  */
 static int32 ClickChangePlayerCheat(int32 p1, int32 p2)
 {
-	while (IsValidPlayer((PlayerID)p1)) {
+	while (IsValidPlayerID((PlayerID)p1)) {
 		if (_players[p1].is_active) {
 			SetLocalPlayer((PlayerID)p1);