summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewMonster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/NewMonster.cpp')
-rw-r--r--src/Mobs/NewMonster.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Mobs/NewMonster.cpp b/src/Mobs/NewMonster.cpp
index 14fa54607..cd63fcb6a 100644
--- a/src/Mobs/NewMonster.cpp
+++ b/src/Mobs/NewMonster.cpp
@@ -1,5 +1,6 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "NewMonster.h"
+#include "../ClientHandle.h"
cNewMonster::cNewMonster(const AString & a_ConfigName, eType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height)
: super(etMonster, a_Width, a_Height)
@@ -8,3 +9,9 @@ cNewMonster::cNewMonster(const AString & a_ConfigName, eType a_MobType, const AS
, m_SoundDeath(a_SoundDeath)
{
}
+
+void cNewMonster::SpawnOn(cClientHandle & a_Client)
+{
+ a_Client.SendSpawnMob(*this);
+}
+