mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-03 04:05:49 +01:00
@@ -36,11 +36,16 @@ void NetworkPlayer::Write(NetworkPacket& packet)
|
||||
<< CommandsRan;
|
||||
}
|
||||
|
||||
void NetworkPlayer::AddMoneySpent(money64 cost)
|
||||
void NetworkPlayer::IncrementNumCommands()
|
||||
{
|
||||
MoneySpent += cost;
|
||||
CommandsRan++;
|
||||
WindowInvalidateByNumber(WindowClass::Player, Id);
|
||||
}
|
||||
|
||||
void NetworkPlayer::AddMoneySpent(money64 cost)
|
||||
{
|
||||
MoneySpent += cost;
|
||||
WindowInvalidateByNumber(WindowClass::Player, Id);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user