This commit is contained in:
parent
f5e5b23f6e
commit
96c04a2228
3 changed files with 16 additions and 0 deletions
|
@ -87,6 +87,10 @@
|
|||
#include "platform\pbranch.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PCART_H__
|
||||
#include "platform\pcart.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PPLAYER_H__
|
||||
#include "platform\pplayer.h"
|
||||
#endif
|
||||
|
@ -171,6 +175,12 @@ CNpcPlatform *CNpcPlatform::Create(sThingPlatform *ThisPlatform)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_CART_PLATFORM:
|
||||
{
|
||||
platform = new ("cart platform") CNpcCartPlatform;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
ASSERT( 0 );
|
||||
|
@ -269,6 +279,8 @@ void CNpcPlatform::init()
|
|||
m_lifetime = 0;
|
||||
m_lifetimeType = m_data[m_type].lifetimeType;
|
||||
|
||||
m_isShuttingDown = false;
|
||||
|
||||
m_npcPath.initPath();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue