You have a function definition, looking similar to:
void CBaseGrenade::HandleInteraction()
{
// ... blah blah
}
You must have copied a function from CBaseGrenade and tried to add it to
grenade_frag.cpp because the compiler is complaining. The function is
declared as a member of CBaseGrenade when it needs to be CHL2GrenadeFrag or
whatever.
This is a pretty simply C++ syntax problem. If you're getting in over your
head with the (complicated) C++ syntax, I recommend starting with something
simpler than what you're doing, and reading more about how C++ works.
--
Jorge "Vino" Rodriguez
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders