Fix not being able to block CS_OnCSWeaponDrop and clarify include file.

This commit is contained in:
Ruben Gonzalez
2015-03-27 19:54:42 -04:00
parent 4b8a581c9a
commit 35e4374e2e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ DETOUR_DECL_MEMBER3(DetourCSWeaponDrop, void, CBaseEntity *, weapon, bool, bDrop
g_pCSWeaponDropForward->Execute(&result);
if (result >= Pl_Continue)
if (result == Pl_Continue)
{
#if SOURCE_ENGINE == SE_CSGO
DETOUR_MEMBER_CALL(DetourCSWeaponDrop)(weapon, vec, unknown);