Skip to content

Commit

Permalink
Fix Handle buy call
Browse files Browse the repository at this point in the history
  • Loading branch information
Drifter321 committed Aug 18, 2017
1 parent 955a29a commit cbb5c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/cstrike/forwards.cpp
Expand Up @@ -44,7 +44,7 @@ DETOUR_DECL_MEMBER1(DetourHandleBuy, int, const char *, weapon)
}

#if SOURCE_ENGINE == SE_CSGO
int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(weapon, iUnknown, bRebuy);
int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(iUnknown, weapon, bRebuy);
#else
int val = DETOUR_MEMBER_CALL(DetourHandleBuy)(weapon);
#endif
Expand Down

0 comments on commit cbb5c6d

Please sign in to comment.