diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/communication.cc | 3 | ||||
| -rw-r--r-- | src/crskill.cc | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/communication.cc b/src/communication.cc index b373900..af5b171 100644 --- a/src/communication.cc +++ b/src/communication.cc @@ -926,7 +926,8 @@ bool HandleLogin(TConnection *Connection){ #if TIBIA772 // IMPORTANT(fusion): With 7.72, the terminal type and version are brought // outside the asymmetric data. This is probably to maintain some level of - // backwards compatibility, given that 7.7 was the first encrypted protocol. + // backwards compatibility with versions before 7.7, given that it was the + // first encrypted protocol. TerminalType = (int)InputBuffer.readWord(); TerminalVersion = (int)InputBuffer.readWord(); #endif diff --git a/src/crskill.cc b/src/crskill.cc index 27655a9..e098b25 100644 --- a/src/crskill.cc +++ b/src/crskill.cc @@ -669,9 +669,7 @@ void TSkillAdd::Advance(int Range){ int Max = this->Max + Increment; int Act = this->Act + Increment; - // TODO(fusion): I'm not sure this is right. Do we fill health and mana when - // the player levels up? - if(Act < Max){ + if(Act > Max){ Act = Max; } |
