diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index c894bfe1..7fb4c59f 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -982,7 +982,7 @@ static cell_t WeaponEquip(IPluginContext *pContext, const cell_t *params) START_CALL(); DECODE_VALVE_PARAM(1, thisinfo, 0); - DECODE_VALVE_PARAM(2, vparams, 1); + DECODE_VALVE_PARAM(2, vparams, 0); FINISH_CALL_SIMPLE(NULL); return 1; diff --git a/gamedata/sm-tf2.games.txt b/gamedata/sm-tf2.games.txt index 6f82569e..3d33fc06 100644 --- a/gamedata/sm-tf2.games.txt +++ b/gamedata/sm-tf2.games.txt @@ -24,7 +24,7 @@ "RemoveDisguise" { "library" "server" - "windows" "\x51\x56\x8B\xF1\x8B\x8E\x0C\x01\x00\x00\x57\x8B\xBE\x94\x00\x00\x00" + "windows" "\x51\x56\x8B\xF1\x8B\x46\x2A\x57\x8D\x7E\x2A\x8D\x4C\x24\x08\x83\xE0\xF7" "linux" "@_ZN15CTFPlayerShared14RemoveDisguiseEv" } "Disguise"