I think the error message speaks for itself.
Check class declaration for CBaseGrenade and make sure there's a
virtual int OnTakeDamage_Alive( ) declared in the class declaration.
It might have gotten deleted by accident.
Yaakov Smith wrote:
> 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
>
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders