From 50b5bb197030ee05a82c9eef3358ebb81229c0e1 Mon Sep 17 00:00:00 2001 From: Dr!fter Date: Fri, 13 Jul 2018 07:47:28 -0400 Subject: [PATCH] Fix CS:GO weaponPrice offset. --- gamedata/sm-cstrike.games/game.csgo.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamedata/sm-cstrike.games/game.csgo.txt b/gamedata/sm-cstrike.games/game.csgo.txt index 943c6676..d96029d8 100644 --- a/gamedata/sm-cstrike.games/game.csgo.txt +++ b/gamedata/sm-cstrike.games/game.csgo.txt @@ -27,12 +27,12 @@ "mac" "4" } // In HandleCommand_Buy_Internal - // -*(_DWORD *)(v34 + 204) + // -*(_DWORD *)(v34 + 208) in ida 7 -v34[52] "WeaponPrice" { - "windows" "204" - "linux" "204" - "mac" "204" + "windows" "208" + "linux" "208" + "mac" "208" } //Offset into CheckRestartRound "CTTeamScoreOffset"