This commit is contained in:
parent
962b32ffb3
commit
ab9b2d4ecb
1 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,10 @@
|
|||
#include "utils\mathtab.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLAYER_PLAYER_H__
|
||||
#include "player\player.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
@ -73,6 +77,7 @@ void CBaseHealthPickup::init()
|
|||
---------------------------------------------------------------------- */
|
||||
void CBaseHealthPickup::collect(class CPlayer *_player)
|
||||
{
|
||||
_player->addHealth(getHealthPoints());
|
||||
CBasePickup::collect(_player);
|
||||
}
|
||||
|
||||
|
@ -109,7 +114,6 @@ void CBaseHealthPickup::renderPickup(DVECTOR *_pos)
|
|||
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue