This commit is contained in:
parent
0228fcc820
commit
948117a252
2 changed files with 12 additions and 0 deletions
|
@ -223,6 +223,17 @@ void CNpcEnemy::setStartPos( s32 xPos, s32 yPos )
|
|||
m_base = Pos;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// 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::GetActor(m_data[m_type].skelType);
|
||||
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcEnemy::init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue