summaryrefslogtreecommitdiffstats
path: root/src/game-server/spawnarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/spawnarea.cpp')
-rw-r--r--src/game-server/spawnarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/spawnarea.cpp b/src/game-server/spawnarea.cpp
index 69a09c3..19e665a 100644
--- a/src/game-server/spawnarea.cpp
+++ b/src/game-server/spawnarea.cpp
@@ -82,7 +82,7 @@ void SpawnArea::update()
Being *being = new Monster(mSpecy);
- if (being->getModifiedAttribute(BASE_ATTR_HP) <= 0)
+ if (being->getModifiedAttribute(ATTR_MAX_HP) <= 0)
{
//LOG_WARN("Refusing to spawn dead monster " << mSpecy->getType());
delete being;