mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 16:51:49 +01:00
Pickup fix
This commit is contained in:
parent
23d294fef5
commit
51e7f44433
@ -369,7 +369,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId)
|
|||||||
if (weaponType < WEAPONTYPE_TOTALWEAPONS && CDarkel::FrenzyOnGoing()) {
|
if (weaponType < WEAPONTYPE_TOTALWEAPONS && CDarkel::FrenzyOnGoing()) {
|
||||||
isPickupTouched = false;
|
isPickupTouched = false;
|
||||||
m_bWasControlMessageShown = false;
|
m_bWasControlMessageShown = false;
|
||||||
} else if (weaponType != WEAPONTYPE_UNARMED) {
|
} else if (weaponType < WEAPONTYPE_TOTALWEAPONS && weaponType != WEAPONTYPE_UNARMED) {
|
||||||
uint32 slot = CWeaponInfo::GetWeaponInfo(weaponType)->m_nWeaponSlot;
|
uint32 slot = CWeaponInfo::GetWeaponInfo(weaponType)->m_nWeaponSlot;
|
||||||
eWeaponType plrWeaponSlot = FindPlayerPed()->GetWeapon(slot).m_eWeaponType;
|
eWeaponType plrWeaponSlot = FindPlayerPed()->GetWeapon(slot).m_eWeaponType;
|
||||||
if (plrWeaponSlot != weaponType) {
|
if (plrWeaponSlot != weaponType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user