summaryrefslogtreecommitdiffstats
path: root/source/cMonsterConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cMonsterConfig.cpp')
-rw-r--r--source/cMonsterConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cMonsterConfig.cpp b/source/cMonsterConfig.cpp
index 1226c74e2..abb2ca2e7 100644
--- a/source/cMonsterConfig.cpp
+++ b/source/cMonsterConfig.cpp
@@ -87,7 +87,7 @@ void cMonsterConfig::AssignAttributes(cMonster *m, const char* n)
m->SetAttackRange(itr->m_AttackRange);
m->SetSightDistance(itr->m_SightDistance);
m->SetAttackRate((int)itr->m_AttackRate);
- m->SetMaxHealth((int)itr->m_AttackRate);
+ m->SetMaxHealth((int)itr->m_MaxHealth);
}
}
}