This commit is contained in:
parent
ab9b2d4ecb
commit
3f78338c37
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
||||||
#include "utils\mathtab.h"
|
#include "utils\mathtab.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __PLAYER_PLAYER_H__
|
||||||
|
#include "player\player.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Std Lib
|
/* Std Lib
|
||||||
------- */
|
------- */
|
||||||
|
@ -73,6 +77,7 @@ void CLifePickup::init()
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
void CLifePickup::collect(class CPlayer *_player)
|
void CLifePickup::collect(class CPlayer *_player)
|
||||||
{
|
{
|
||||||
|
_player->addLife();
|
||||||
CBasePickup::collect(_player);
|
CBasePickup::collect(_player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue