mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
BLADERUNNER: Add DebugMan.clearAllDebugChannels() in shutdown
This commit is contained in:
parent
e8f009e04f
commit
bef3f902e6
@ -715,6 +715,8 @@ void BladeRunnerEngine::initChapterAndScene() {
|
||||
}
|
||||
|
||||
void BladeRunnerEngine::shutdown() {
|
||||
DebugMan.clearAllDebugChannels();
|
||||
|
||||
_mixer->stopAll();
|
||||
|
||||
// BLADE.INI as updated here
|
||||
@ -2186,7 +2188,7 @@ void BladeRunnerEngine::newGame(int difficulty) {
|
||||
for (uint i = 0; i < _gameInfo->getActorCount(); ++i) {
|
||||
_actors[i]->setup(i);
|
||||
}
|
||||
_actors[kActorVoiceOver]->setup(99);
|
||||
_actors[kActorVoiceOver]->setup(kActorVoiceOver);
|
||||
|
||||
for (uint i = 0; i < _gameInfo->getSuspectCount(); ++i) {
|
||||
_suspectsDatabase->get(i)->reset();
|
||||
|
@ -320,7 +320,7 @@ bool AIScriptDektora::ShotAtAndHit() {
|
||||
|
||||
void AIScriptDektora::Retired(int byActorId) {
|
||||
if (byActorId == kActorMcCoy) {
|
||||
Actor_Modify_Friendliness_To_Other(kActorClovis, 0, -5);
|
||||
Actor_Modify_Friendliness_To_Other(kActorClovis, kActorMcCoy, -5);
|
||||
}
|
||||
|
||||
if (byActorId == kActorSteele
|
||||
|
@ -151,14 +151,14 @@ void AIScriptMutant3::OtherAgentEnteredCombatMode(int otherActorId, int combatMo
|
||||
void AIScriptMutant3::ShotAtAndMissed() {
|
||||
if (Actor_Query_Goal_Number(kActorMutant3) != 410) {
|
||||
Actor_Modify_Combat_Aggressiveness(kActorMutant3, 15);
|
||||
Actor_Modify_Friendliness_To_Other(kActorMutant3, 0, -15);
|
||||
Actor_Modify_Friendliness_To_Other(kActorMutant3, kActorMcCoy, -15);
|
||||
}
|
||||
}
|
||||
|
||||
bool AIScriptMutant3::ShotAtAndHit() {
|
||||
if (Actor_Query_Goal_Number(kActorMutant3) != 410) {
|
||||
Actor_Modify_Combat_Aggressiveness(kActorMutant3, 20);
|
||||
Actor_Modify_Friendliness_To_Other(kActorMutant3, 0, -20);
|
||||
Actor_Modify_Friendliness_To_Other(kActorMutant3, kActorMcCoy, -20);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user