aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/engine')
-rw-r--r--engines/kyra/engine/magic_eob.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/kyra/engine/magic_eob.cpp b/engines/kyra/engine/magic_eob.cpp
index 448f7f0db1..a0e01c3f1b 100644
--- a/engines/kyra/engine/magic_eob.cpp
+++ b/engines/kyra/engine/magic_eob.cpp
@@ -886,7 +886,15 @@ bool EoBCoreEngine::spellCallback_end_melfsAcidArrow(void *obj) {
}
void EoBCoreEngine::spellCallback_start_dispelMagic() {
- for (int i = 0; i < 6; i++) {
+ int first = 0;
+ int last = 5;
+
+ if (_flags.gameID == GI_EOB1) {
+ _txt->printMessage(_magicStrings8[0], -1, _characters[_activeSpellCharId].name);
+ first = last = _activeSpellCharId;
+ }
+
+ for (int i = first; i <= last; i++) {
if (testCharacter(i, 1))
removeAllCharacterEffects(i);
}