This commit is contained in:
parent
d6f0f0f18e
commit
2fded56717
3 changed files with 7 additions and 1 deletions
|
@ -50,7 +50,7 @@ s32 CNpc::playerXDist;
|
|||
s32 CNpc::playerYDist;
|
||||
s32 CNpc::playerXDistSqr;
|
||||
s32 CNpc::playerYDistSqr;
|
||||
|
||||
class CLayerCollision *CNpc::m_layerCollision;
|
||||
|
||||
void CNpc::init()
|
||||
{
|
||||
|
@ -72,6 +72,8 @@ void CNpc::init()
|
|||
|
||||
m_controlFunc = NPC_CONTROL_MOVEMENT;
|
||||
|
||||
m_layerCollision = NULL;
|
||||
|
||||
switch ( m_data[this->m_type].initFunc )
|
||||
{
|
||||
case NPC_INIT_DEFAULT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue