aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/spells.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-07 21:17:31 -0500
committerPaul Gilbert2015-02-07 21:17:31 -0500
commitd6e760552e785e466b5d2088570baa182d42ccd0 (patch)
treeb4abd925ab7bee2a1989da75a9d5c8fe32c02342 /engines/xeen/spells.cpp
parent65ecc9b72138f2dcef0ccf3765363559649b77a2 (diff)
downloadscummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.tar.gz
scummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.tar.bz2
scummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.zip
XEEN: Implemented resting
Diffstat (limited to 'engines/xeen/spells.cpp')
-rw-r--r--engines/xeen/spells.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp
index 50e77668cd..4943d95d2a 100644
--- a/engines/xeen/spells.cpp
+++ b/engines/xeen/spells.cpp
@@ -92,7 +92,7 @@ void Spells::doSpell(int spellId) {
&Spells::implosion, &Spells::starBurst, &Spells::divineIntervention
};
- if (_vm->_mode == MODE_InCombat) {
+ if (_vm->_mode == MODE_COMBAT) {
if (spellId == 15 || spellId == 20 || spellId == 27 || spellId == 41
|| spellId == 47 || spellId == 54 || spellId == 57) {
ErrorDialog::show(_vm, Common::String::format(CANT_CAST_WHILE_ENGAGED,