@@ -1638,25 +1638,26 @@ void SetFiosType(const byte fiostype)
static int32 ClickMoneyCheat(int32 p1, int32 p2)
{
DoCommandP(0, -10000000, 0, NULL, CMD_MONEY_CHEAT);
return true;
}
// p1 player to set to, p2 is -1 or +1 (down/up)
static int32 ClickChangePlayerCheat(int32 p1, int32 p2)
while (IsValidPlayer((PlayerID)p1)) {
if (_players[p1].is_active) {
_local_player = (PlayerID)p1;
SetLocalPlayer((PlayerID)p1);
MarkWholeScreenDirty();
return _local_player;
p1 += p2;
// p1 -1 or +1 (down/up)
static int32 ClickChangeClimateCheat(int32 p1, int32 p2)