summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/Stats.h2
-rw-r--r--src/peds/Ped.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Stats.h b/src/core/Stats.h
index a5670020..30058a59 100644
--- a/src/core/Stats.h
+++ b/src/core/Stats.h
@@ -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;
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index e4cc848e..016fea2f 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -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);