Merged in bug-fixes-x (pull request #69)

Hotfix
This commit is contained in:
Damen DeBerry 2019-01-28 01:16:58 +00:00 committed by Lorenc Pekaj
commit 28cfde8b08

View File

@ -431,8 +431,7 @@ stock RemoveSpecificPlayerWeapon( playerid, weaponid, bool:createpickup )
if ( iWeapon != iCurrentWeapon || iWeapon != weaponid ) { if ( iWeapon != iCurrentWeapon || iWeapon != weaponid ) {
GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] ); GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] );
} }
else if ( createpickup )
if ( createpickup && iCurrentWeapon == iWeapon )
{ {
new new
Float: X, Float: Y, Float: Z; Float: X, Float: Y, Float: Z;