summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index a97d6097..9164aa43 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -229,7 +229,7 @@ void Being::update()
int maxHP = getAttribute(BASE_ATTR_HP);
// regenerate HP
- if (mAction != DEAD && mHpRegenTimer++ >= TICKS_PER_HP_REGENERATION)
+ if (mAction != DEAD && ++mHpRegenTimer >= TICKS_PER_HP_REGENERATION)
{
mHpRegenTimer = 0;
newHP += getModifiedAttribute(BASE_ATTR_HP_REGEN);