Clean up some players references

This commit is contained in:
Anders Jenbo 2021-08-28 15:47:08 +02:00
commit 4044fadeb5
22 changed files with 204 additions and 254 deletions

View file

@ -129,7 +129,7 @@ std::string DebugCmdGiveGoldCheat(const string_view parameter)
myPlayer._pGold += GOLD_MAX_LIMIT;
itemId = myPlayer._pNumInv;
}
CalcPlrInv(MyPlayerId, true);
CalcPlrInv(myPlayer, true);
return "You are now rich! If only this was as easy in real life...";
}