summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 53c60bb69..b632fe7f9 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -2354,6 +2354,7 @@ int cWorld::SpawnMob(double a_PosX, double a_PosY, double a_PosZ, int a_EntityTy
}
}
Monster->SetPosition(a_PosX, a_PosY, a_PosZ);
+ Monster->SetHealth(Monster->GetMaxHealth());
Monster->Initialize(this);
BroadcastSpawnEntity(*Monster);
return Monster->GetUniqueID();