diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 2 | ||||
-rw-r--r-- | src/peds/Ped.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 1b6c0a3b..8c4f7fec 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -20077,7 +20077,7 @@ CPed::Load(uint8*& buf) CStreaming::LoadAllRequestedModels(false); } - GiveWeapon(bufWeapon.m_eWeaponType, bufWeapon.m_nAmmoTotal); + GiveWeapon(bufWeapon.m_eWeaponType, bufWeapon.m_nAmmoTotal, false); } } SkipSaveBuf(buf, 252); diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 6fc9ab67..00ce48f4 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -703,7 +703,7 @@ public: void PlayFootSteps(void); void QuitEnteringCar(void); void BuildPedLists(void); - int32 GiveWeapon(eWeaponType weaponType, uint32 ammo, bool unused = false); + int32 GiveWeapon(eWeaponType weaponType, uint32 ammo, bool unused = true); void CalculateNewOrientation(void); float WorkOutHeadingForMovingFirstPerson(float); void CalculateNewVelocity(void); |