diff options
author | Paul Gilbert | 2015-01-11 08:54:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-11 08:54:42 -0500 |
commit | 49787629ffb86569faebd3155fd65c0cedea0bad (patch) | |
tree | 6d7a28ad7c4e70af4ca330a849bc02b86b9f7c05 /engines/xeen/party.cpp | |
parent | 8f0c5543fbac066a9b0f216ae0747e6cff528a2c (diff) | |
download | scummvm-rg350-49787629ffb86569faebd3155fd65c0cedea0bad.tar.gz scummvm-rg350-49787629ffb86569faebd3155fd65c0cedea0bad.tar.bz2 scummvm-rg350-49787629ffb86569faebd3155fd65c0cedea0bad.zip |
XEEN: Various renamings
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 ec25f4a71c..ad6d2145de 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -135,7 +135,7 @@ void PlayerStruct::synchronize(Common::Serializer &s) { s.syncAsByte(_currentCombatSpell); } -Condition PlayerStruct::findCondition() const { +Condition PlayerStruct::worstCondition() const { for (int cond = ERADICATED; cond >= CURSED; --cond) { if (_conditions[cond]) return (Condition)cond; @@ -144,7 +144,7 @@ Condition PlayerStruct::findCondition() const { return NO_CONDITION; } -int PlayerStruct::getYear(int partyYear, bool ignoreTemp) { +int PlayerStruct::getAge(int partyYear, bool ignoreTemp) { int year = MIN(partyYear - _ybDay, 254); return ignoreTemp ? year : year + _tempAge; |