diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-17 11:31:14 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-17 11:31:14 +0200 |
commit | 40434eadfdcf0bcacc7a604b3e3912d7a4a0d805 (patch) | |
tree | 66e4020050a7a45231138aacc80f111ecaa09ecc /src/control | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar.gz re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar.bz2 re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar.lz re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar.xz re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.tar.zst re3-40434eadfdcf0bcacc7a604b3e3912d7a4a0d805.zip |
Diffstat (limited to 'src/control')
-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); } |