diff --git a/source/pickups/plife.cpp b/source/pickups/plife.cpp index 187c726a3..7f51cf97e 100644 --- a/source/pickups/plife.cpp +++ b/source/pickups/plife.cpp @@ -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 CLifePickup::init() ---------------------------------------------------------------------- */ void CLifePickup::collect(class CPlayer *_player) { + _player->addLife(); CBasePickup::collect(_player); }