summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-26 08:50:06 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-26 08:50:06 +0100
commit7a6ec4fb17c957f86452be92f3ef2908f94c9b0d (patch)
tree1a36bc6576e701ee1d1936f5d2f9c6175cf5d4cc /source/Player.cpp
parentAdded a function to dump all available Lua API functions into the Debuggers plugin. (diff)
downloadcuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.gz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.bz2
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.lz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.xz
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.tar.zst
cuberite-7a6ec4fb17c957f86452be92f3ef2908f94c9b0d.zip
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp2
1 files changed, 1 insertions, 1 deletions
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 );