This commit is contained in:
Charles 2001-07-16 20:25:19 +00:00
parent bccc161ff2
commit de3dd06d85
2 changed files with 4 additions and 3 deletions

View file

@ -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 );
}