From eff79ee55f165cc2f8770ffa99abaf99ad8d349a Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 5 Jul 2013 17:04:12 +0000 Subject: Fixed a crash when moving a player to a non-existent world (reported by tonibm19) http://forum.mc-server.org/showthread.php?tid=434&pid=8865#pid8865 crashdump.zip/crash_mcs_165c.dmp git-svn-id: http://mc-server.googlecode.com/svn/trunk@1645 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Player.cpp b/source/Player.cpp index 865ff24d6..1a051f95b 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -896,7 +896,7 @@ bool cPlayer::MoveToWorld(const char * a_WorldName) cWorld * World = cRoot::Get()->GetWorld(a_WorldName); if (World == NULL) { - LOG("%s: Couldn't find world \"%s\".", a_WorldName); + LOG("%s: Couldn't find world \"%s\".", __FUNCTION__, a_WorldName); return false; } -- cgit v1.2.3