I added this code in combat.cpp
#include "player.h"
in the CBaseMonster::Killed
if( pPlayer && pPlayer->IsPlayer() ) //pPlayer undefined...
{
pPlayer->AddPoints( 1, false );
}
Created 12 years ago2012-04-17 06:49:10 UTC by gian20
'pPlayer' : undeclared identifierthis is the link to the planethalflife