diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-18 03:54:01 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-18 03:54:01 +0200 |
commit | b3385015e5b151031afba52f71536063339f52e7 (patch) | |
tree | 352d983b14c36d821c7d2a747e3f72f9129c688e /src/control/Darkel.cpp | |
parent | Pickup arrays done (diff) | |
parent | Merge pull request #765 from erorcun/miami (diff) | |
download | re3-b3385015e5b151031afba52f71536063339f52e7.tar re3-b3385015e5b151031afba52f71536063339f52e7.tar.gz re3-b3385015e5b151031afba52f71536063339f52e7.tar.bz2 re3-b3385015e5b151031afba52f71536063339f52e7.tar.lz re3-b3385015e5b151031afba52f71536063339f52e7.tar.xz re3-b3385015e5b151031afba52f71536063339f52e7.tar.zst re3-b3385015e5b151031afba52f71536063339f52e7.zip |
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r-- | src/control/Darkel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp index 13c49c99..e44cdda9 100644 --- a/src/control/Darkel.cpp +++ b/src/control/Darkel.cpp @@ -391,7 +391,7 @@ CDarkel::DealWithWeaponChangeAtEndOfFrenzy() CPlayerPed* player = FindPlayerPed(); if (fixedWeapon < WEAPONTYPE_TOTALWEAPONS) { - player->m_nSelectedWepSlot = InterruptedWeaponType; + player->m_nSelectedWepSlot = CWeaponInfo::GetWeaponInfo((eWeaponType)InterruptedWeaponSelected)->m_nWeaponSlot; player->GiveWeapon((eWeaponType)InterruptedWeaponType, AmmoInterruptedWeapon, true); } |