diff --git a/source/enemy/npc.cpp b/source/enemy/npc.cpp index 27d3fc77f..2d4f9d735 100644 --- a/source/enemy/npc.cpp +++ b/source/enemy/npc.cpp @@ -223,16 +223,6 @@ void CNpcEnemy::setHeading( s32 xPos, s32 yPos ) } -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Static function to initialise the actor pool with levels nasty folk -void CNpcEnemy::CacheActor(int Type) -{ -int m_type = mapEditConvertTable[Type - NPC_ENEMY_MAPEDIT_OFFSET]; - - CActorPool::AddActor(m_data[m_type].skelType); - -} - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void CNpcEnemy::init() diff --git a/source/enemy/npc.h b/source/enemy/npc.h index 11a60b4e6..ec3f18974 100644 --- a/source/enemy/npc.h +++ b/source/enemy/npc.h @@ -177,8 +177,6 @@ public: bool canBeCaughtByNet(); void caughtWithNet(); - static void CacheActor(int Type); - private: class CLayerCollision *m_layerCollision;