This commit is contained in:
parent
eb9fbc0473
commit
ef5c8d8b28
15 changed files with 152 additions and 54 deletions
|
@ -1287,7 +1287,7 @@ void CNpcEnemy::processCollision()
|
|||
{
|
||||
CPlayer *player = GameScene.getPlayer();
|
||||
|
||||
player->takeDamage( m_data[m_type].damageToUserType );
|
||||
player->takeDamage( m_data[m_type].damageToUserType,REACT__GET_DIRECTION_FROM_THING,(CThing*)this );
|
||||
processUserCollision( (CThing *) player );
|
||||
|
||||
m_controlFunc = m_oldControlFunc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue