diff options
Diffstat (limited to 'engines/xeen/spells.cpp')
-rw-r--r-- | engines/xeen/spells.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp index 8a5126c381..29c22b1e0b 100644 --- a/engines/xeen/spells.cpp +++ b/engines/xeen/spells.cpp @@ -31,10 +31,15 @@ Spells::Spells(XeenEngine *vm) : _vm(vm) { } void Spells::load() { - File f("spells.xen"); - while (f.pos() < f.size()) - _spellNames.push_back(f.readString()); - f.close(); + File f1("spells.xen"); + while (f1.pos() < f1.size()) + _spellNames.push_back(f1.readString()); + f1.close(); + + File f2("mae.xen"); + while (f2.pos() < f2.size()) + _maeNames.push_back(f2.readString()); + f2.close(); } } // End of namespace Xeen |