Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
blah
  • Loading branch information
gennariarmando committed Jul 7, 2019
1 parent d1c6a6a commit 0c34fb1bb2239b1433719bb410b71e0c28840c85
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/core/Stats.h
  2. +2 −2 src/peds/Ped.cpp
@@ -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;

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

0 comments on commit 0c34fb1

Please sign in to comment.