diff options
author | Paul Gilbert | 2018-03-27 23:13:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-28 20:49:44 -0400 |
commit | 8c86a18806d4afc5a28cbfa1eb9b499a5a9d0ff1 (patch) | |
tree | 5dd54919b7e6d82245b4caf29b06e30315690cc7 /engines/xeen/dialogs/dialogs_spells.cpp | |
parent | 4b0fc02ad08c86a7583fdbb5949d8f37a950259c (diff) | |
download | scummvm-rg350-8c86a18806d4afc5a28cbfa1eb9b499a5a9d0ff1.tar.gz scummvm-rg350-8c86a18806d4afc5a28cbfa1eb9b499a5a9d0ff1.tar.bz2 scummvm-rg350-8c86a18806d4afc5a28cbfa1eb9b499a5a9d0ff1.zip |
XEEN: Fix missing message for when all Guild spells bought
Diffstat (limited to 'engines/xeen/dialogs/dialogs_spells.cpp')
-rw-r--r-- | engines/xeen/dialogs/dialogs_spells.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs/dialogs_spells.cpp b/engines/xeen/dialogs/dialogs_spells.cpp index 296bf29071..a14d4babaa 100644 --- a/engines/xeen/dialogs/dialogs_spells.cpp +++ b/engines/xeen/dialogs/dialogs_spells.cpp @@ -356,7 +356,7 @@ const char *SpellsDialog::setSpellText(Character *c, int mode) { } } - return nullptr; + return _spells.empty() ? Res.SPELLS_LEARNED_ALL : nullptr; } /*------------------------------------------------------------------------*/ |