This commit is contained in:
parent
78683c9539
commit
9a2314b3ad
5 changed files with 15 additions and 1 deletions
|
@ -27,6 +27,11 @@
|
|||
#include "system\vid.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLAYER_PLAYER_H__
|
||||
#include "player\player.h"
|
||||
#endif
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcBoatHazard::init()
|
||||
|
@ -179,6 +184,7 @@ void CNpcBoatHazard::collidedWith( CThing *_thisThing )
|
|||
{
|
||||
CPlayer *player = (CPlayer *) _thisThing;
|
||||
|
||||
player->takeDamage( DAMAGE__KILL_OUTRIGHT );
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue