This commit is contained in:
_AG 2019-07-07 15:26:55 +02:00
parent d1c6a6aaa6
commit 0c34fb1bb2
2 changed files with 3 additions and 3 deletions

View File

@ -2702,9 +2702,9 @@ CPed::QuitEnteringCar(void)
bUsesCollision = true;
if (IsPlayer() && GetWeapon()->m_eWeaponType == WEAPONTYPE_UZI) {
if (IsPlayer() && m_storedWeapon != NO_STORED_WEAPON) {
if (IsPlayer() && m_storedWeapon != WEAPONTYPE_UNIDENTIFIED) {
SetCurrentWeapon(m_storedWeapon);
m_storedWeapon = NO_STORED_WEAPON;
m_storedWeapon = WEAPONTYPE_UNIDENTIFIED;
}
} else {
CWeaponInfo *curWeapon = CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType);