diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 12:54:46 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 12:54:46 +0100 |
commit | a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1 (patch) | |
tree | 147d551bbb7f0de6d6048566405956f18252bfff /src/control | |
parent | script 900-999 (diff) | |
parent | Merge pull request #326 from erorcun/erorcun (diff) | |
download | re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.gz re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.bz2 re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.lz re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.xz re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.zst re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Garages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index a1d5f94b..10ebd6cb 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -93,7 +93,7 @@ int32 CGarages::QueryCarsCollected(int16 garage) void CGarages::GivePlayerDetonator() { FindPlayerPed()->GiveWeapon(WEAPONTYPE_DETONATOR, 1); - FindPlayerPed()->m_weapons[FindPlayerPed()->GetWeaponSlot(WEAPONTYPE_DETONATOR)].m_eWeaponState = WEAPONSTATE_READY; + FindPlayerPed()->GetWeapon(FindPlayerPed()->GetWeaponSlot(WEAPONTYPE_DETONATOR)).m_eWeaponState = WEAPONSTATE_READY; } WRAPPER bool CGarages::HasThisCarBeenCollected(int16 garage, uint8 id) { EAXJMP(0x426D50); } |