summaryrefslogtreecommitdiff
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-11-04 17:09:57 +0000
committerDavid Athay <ko2fan@gmail.com>2008-11-04 17:09:57 +0000
commit19453b72070b4c96fa4d3cc69999dd452316c789 (patch)
tree70775a4499cc45d55cc1de7ce39faaf66918d593 /src/game-server/being.cpp
parent861fcef3203ffe32c3d8e9b62aa79e2a54934c09 (diff)
downloadmanaserv-19453b72070b4c96fa4d3cc69999dd452316c789.tar.gz
manaserv-19453b72070b4c96fa4d3cc69999dd452316c789.tar.bz2
manaserv-19453b72070b4c96fa4d3cc69999dd452316c789.tar.xz
manaserv-19453b72070b4c96fa4d3cc69999dd452316c789.zip
Added updating party member health.
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index 2c549c9f..56f0154f 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -274,6 +274,7 @@ void Being::update()
if (newHP != oldHP)
{
applyModifier(BASE_ATTR_HP, newHP - oldHP);
+ raiseUpdateFlags(UPDATEFLAG_HEALTHCHANGE);
}
// Update lifetime of effects.