From 44a7b629634d815e3acfcb20ff45209334735287 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Tue, 23 May 2006 19:35:40 +0000 Subject: [PATCH] possible fix at29931 --- dlls/fun/fun.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/fun/fun.cpp b/dlls/fun/fun.cpp index 157e2c32..9f00196e 100755 --- a/dlls/fun/fun.cpp +++ b/dlls/fun/fun.cpp @@ -545,11 +545,7 @@ static cell AMX_NATIVE_CALL strip_user_weapons(AMX *amx, cell *params) // index MDLL_Use(pent, pPlayer); REMOVE_ENTITY(pent); - void *_wpns = MF_PlayerPropAddr(params[1], Player_Weapons); *reinterpret_cast(MF_PlayerPropAddr(params[1], Player_CurrentWeapon)) = 0; - - if (_wpns) - memset(_wpns, 0, sizeof(_wpns) * MAX_WEAPONS); return 1; }