From 7a6ec4fb17c957f86452be92f3ef2908f94c9b0d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 26 Jan 2013 07:50:06 +0000 Subject: Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names. -ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Player.cpp') diff --git a/source/Player.cpp b/source/Player.cpp index f1a535f78..f00b0768c 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -174,7 +174,7 @@ void cPlayer::Tick(float a_Dt, MTRand & a_TickRandom) } else if (m_bDirtyPosition) { - cRoot::Get()->GetPluginManager()->CallHookPlayerMoved(*this); + cRoot::Get()->GetPluginManager()->CallHookPlayerMoving(*this); float DiffX = (float)(GetPosX() - m_LastPosX ); float DiffY = (float)(GetPosY() - m_LastPosY ); -- cgit v1.2.3