This commit is contained in:
parent
6346c24284
commit
a6648b8d5e
@ -806,7 +806,9 @@ void CNpcSubSharkEnemy::collidedWith(CThing *_thisThing)
|
||||
player->takeDamage( m_data[m_type].damageToUserType,REACT__GET_DIRECTION_FROM_THING,(CThing*)this );
|
||||
}
|
||||
|
||||
if ( m_state == SUB_SHARK_CHARGE && player->getMode() != PLAYER_MODE_SWALLOW )
|
||||
if ( m_state == SUB_SHARK_CHARGE &&
|
||||
player->getMode() != PLAYER_MODE_SWALLOW &&
|
||||
player->getMode() != PLAYER_MODE_DEAD )
|
||||
{
|
||||
m_carryPlayer = true;
|
||||
m_oldPlayerMode = player->getMode();
|
||||
|
Loading…
Reference in New Issue
Block a user