From 71bbf2d44ba5fc00fcb15ed96aff083342309498 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 28 Jan 2013 16:54:11 +0000 Subject: 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 --- source/Plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Plugin.cpp') diff --git a/source/Plugin.cpp b/source/Plugin.cpp index 8339d1c7a..2b26ae2cb 100644 --- a/source/Plugin.cpp +++ b/source/Plugin.cpp @@ -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; } -- cgit v1.2.3