(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -44,7 +44,7 @@ static int32 ClickMoneyCheat(int32 p1, int32 p2)
|
||||
*/
|
||||
static int32 ClickChangePlayerCheat(int32 p1, int32 p2)
|
||||
{
|
||||
while (IsValidPlayer((PlayerID)p1)) {
|
||||
while (IsValidPlayerID((PlayerID)p1)) {
|
||||
if (_players[p1].is_active) {
|
||||
SetLocalPlayer((PlayerID)p1);
|
||||
|
||||
|
Reference in New Issue
Block a user