This commit is contained in:
parent
6346c24284
commit
a6648b8d5e
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue