1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00
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

@ -5,7 +5,7 @@ class CStats
public:
static int32 &DaysPassed;
static int32 &HeadShots;
static bool& CommercialPassed;
static bool& CommercialPassed;
static int32 &NumberKillFrenziesPassed;
static int32 &PeopleKilledByOthers;

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);