diff options
author | Paul Gilbert | 2015-02-01 15:24:12 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-01 15:24:12 -0500 |
commit | d57c9f20213e66539fc7686a8b8abc26090aaa59 (patch) | |
tree | 3c192af6d876498212d5e0462488c338fdcb34bf /engines/xeen/party.cpp | |
parent | 3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47 (diff) | |
download | scummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.tar.gz scummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.tar.bz2 scummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.zip |
XEEN: Fixes to the Character Info dialog
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r-- | engines/xeen/party.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 3cfc56e1ec..42500ddcfe 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -187,7 +187,7 @@ int Character::getMaxSP() const { Attribute attrib; Skill skill; - if (_hasSpells) + if (!_hasSpells) return 0; if (_class == CLASS_SORCERER || _class == CLASS_ARCHER) { @@ -202,7 +202,7 @@ int Character::getMaxSP() const { for (;;) { // Get the base number of spell points - result = statBonus(getStat(attrib)); + result = statBonus(getStat(attrib)) + 3; result += RACE_SP_BONUSES[_race][attrib - 1]; if (_skills[skill]) |