Error 2 error C2039: 'OnTakeDamage_Alive' : is not a
member of 'CBaseGrenade' c:\Source SDK
Mods\HL2DM_OB\src\game\server\hl2mp\grenade_tripmine.cpp 276
Server HL2MP
int CTripmineGrenade::OnTakeDamage_Alive( const CTakeDamageInfo &info )
{
if (gpGlobals->curtime < m_flPowerUp && info.GetDamage() < m_iHealth)
{
// disable
// Create( "weapon_tripmine", GetLocalOrigin() + m_vecDir * 24,
GetAngles() );
SetThink( &CTripmineGrenade::SUB_Remove );
SetNextThink( gpGlobals->curtime + 0.1f );
KillBeam();
if (m_pConstraint)
m_pConstraint->Deactivate();
return FALSE;
}
return BaseClass::OnTakeDamage_Alive( info );
}
This is a vanilla mod, I haven't changed anything. What's wrong with it?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders