From 65738328de7f5fdc422ce6af4633380df4e3d319 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 20 Mar 2009 14:28:13 -0600 Subject: *Fixed crash caused by .distance command. By arrai. --HG-- branch : trunk --- src/game/Level3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index 5974e818361..46e5c880b16 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -3756,7 +3756,7 @@ bool ChatHandler::HandleGuildDeleteCommand(const char* args) bool ChatHandler::HandleGetDistanceCommand(const char* args) { - WorldObject* obj; + WorldObject* obj = NULL; if (*args) { -- cgit v1.2.3