diff options
Diffstat (limited to 'src/control/Script7.cpp')
-rw-r--r-- | src/control/Script7.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script7.cpp b/src/control/Script7.cpp index 6dd6e281..de389a13 100644 --- a/src/control/Script7.cpp +++ b/src/control/Script7.cpp @@ -452,12 +452,12 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command) CPed* pPed = CPools::GetPedPool()->GetAt(GET_INTEGER_PARAM(0)); script_assert(pPed); if (GET_INTEGER_PARAM(1)) { - pPed->bIsDucking = true; + pPed->bCrouchWhenShooting = true; pPed->SetDuck(GET_INTEGER_PARAM(2), true); } else { pPed->ClearDuck(true); - pPed->bIsDucking = false; + pPed->bCrouchWhenShooting = false; } return 0; } @@ -771,7 +771,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command) CHud::SetHelpMessage(text, false, true); // + true if (text != CHud::gLastPrintForeverString) { CHud::gLastPrintForeverString = text; - DMAudio.PlayFrontEndSound(SOUND_HUD_SOUND, 0); + DMAudio.PlayFrontEndSound(SOUND_HUD, 0); } return 0; } |