Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.
Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -126,9 +126,9 @@ bool cPlugin::OnDisconnect(cPlayer * a_Player, const AString & a_Reason)
|
||||
|
||||
|
||||
|
||||
bool cPlugin::OnKilled(cPawn & a_Killed, cEntity * a_Killer)
|
||||
bool cPlugin::OnKilling(cPawn & a_Victim, cEntity * a_Killer)
|
||||
{
|
||||
UNUSED(a_Killed);
|
||||
UNUSED(a_Victim);
|
||||
UNUSED(a_Killer);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user