[saco] Match CGame::ResetLocalMoney at 0x100A20C0; GetLocalMoney/AddToLocalMoney are written out inline

This commit is contained in:
ricardoofnl
2026-09-03 00:47:09 +07:00
parent e1ab9e9045
commit b82d88f0eb
+3 -3
View File
@@ -956,10 +956,10 @@ void CGame::ResetLocalMoney()
int iMoney = *(int *)0xB7CE50;
if(!iMoney) return;
if(iMoney >= 0) {
ScriptCommand(&add_to_player_money,0,-(iMoney));
} else {
if(iMoney < 0) {
ScriptCommand(&add_to_player_money,0,abs(iMoney));
} else {
ScriptCommand(&add_to_player_money,0,-(iMoney));
}
}