diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-05-12 01:24:57 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-05-12 23:18:54 +0200 |
commit | c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527 (patch) | |
tree | cf51d6ab8430cd186e02f0e8105004f8e5476728 /src/control/Pickups.cpp | |
parent | fix shotgun (diff) | |
download | re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.gz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.bz2 re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.lz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.xz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.zst re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Pickups.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 569af776..32bffa17 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -356,6 +356,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId) return true; } break; + default: break; } } if (!m_bRemoved && (m_eType == PICKUP_ONCE_TIMEOUT || m_eType == PICKUP_MONEY) && CTimer::GetTimeInMilliseconds() > m_nTimer) @@ -576,6 +577,7 @@ CPickups::ModelForWeapon(eWeaponType weaponType) case WEAPONTYPE_FLAMETHROWER: return MI_FLAMETHROWER; case WEAPONTYPE_MOLOTOV: return MI_MOLOTOV; case WEAPONTYPE_GRENADE: return MI_GRENADE; + default: break; } return 0; } |