diff options
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; |