diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-07 15:26:55 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-07-07 15:26:59 +0200 |
commit | 0c34fb1bb2239b1433719bb410b71e0c28840c85 (patch) | |
tree | 3c4cbbba0e633777e47bb6dfd55e8e33cae30706 /src/peds | |
parent | Merge branch 'master' of https://github.com/gtamodding/re3 (diff) | |
download | re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar.gz re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar.bz2 re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar.lz re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar.xz re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.tar.zst re3-0c34fb1bb2239b1433719bb410b71e0c28840c85.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |