This commit is contained in:
parent
bccc161ff2
commit
de3dd06d85
@ -305,7 +305,8 @@ CNpcPlatform *CNpcPlatform::Create(int Type)
|
||||
|
||||
case NPC_CART_PLATFORM:
|
||||
{
|
||||
platform = new ("cart platform") CNpcCartPlatform;
|
||||
//platform = new ("cart platform") CNpcCartPlatform;
|
||||
platform = new ("ghost train platform") CNpcGhostTrainPlatform;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -722,9 +722,9 @@ if(newmode!=-1)
|
||||
platform=isOnPlatform();
|
||||
if(platform)
|
||||
{
|
||||
if ( m_currentMode != PLAYER_MODE_CART && m_currentMode != PLAYER_MODE_DEAD )
|
||||
if ( ( (CNpcPlatform *) platform )->isCart() )
|
||||
{
|
||||
if ( ( (CNpcPlatform *) platform )->isCart() )
|
||||
if ( m_currentMode != PLAYER_MODE_CART && m_currentMode != PLAYER_MODE_DEAD )
|
||||
{
|
||||
setMode( PLAYER_MODE_CART );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user