Fix Handle buy call

This commit is contained in:
Ruben Gonzalez 2017-08-18 15:24:17 -04:00
parent 955a29a4aa
commit cbb5c6d740

View File

@ -44,7 +44,7 @@ DETOUR_DECL_MEMBER1(DetourHandleBuy, int, const char *, weapon)
} }
#if SOURCE_ENGINE == SE_CSGO #if SOURCE_ENGINE == SE_CSGO
int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(weapon, iUnknown, bRebuy); int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(iUnknown, weapon, bRebuy);
#else #else
int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(weapon); int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(weapon);
#endif #endif