diff options
Diffstat (limited to 'engines/xeen/spells.cpp')
-rw-r--r-- | engines/xeen/spells.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp index 3492510db9..5f1df6aef0 100644 --- a/engines/xeen/spells.cpp +++ b/engines/xeen/spells.cpp @@ -100,8 +100,8 @@ void Spells::doSpell(int spellId) { if (_vm->_mode == MODE_InCombat) { if (spellId == 15 || spellId == 20 || spellId == 27 || spellId == 41 || spellId == 47 || spellId == 54 || spellId == 57) { - ErrorScroll::show(_vm, Common::String::format(CANT_CAST_WHILE_ENGAGED, - _spellNames[spellId].c_str()), WT_UNFORMATTED); + ErrorDialog::show(_vm, Common::String::format(CANT_CAST_WHILE_ENGAGED, + _spellNames[spellId].c_str())); return; } } |