From 609a81096ec95e56e4516e73529942e48ea7b23b Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 24 May 2009 16:27:15 +0200 Subject: Fixed compilation problem with GCC 4.4 Fix ported from the client. --- src/scripting/lua.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scripting/lua.cpp') diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index b4bdb99b..0136210a 100644 --- a/src/scripting/lua.cpp +++ b/src/scripting/lua.cpp @@ -203,6 +203,7 @@ static int npc_end(lua_State *s) MessageOut msg(GPMSG_NPC_CLOSE); msg.writeShort(p->getPublicID()); gameHandler->sendTo(q, msg); + return 0; } /** -- cgit v1.2.3-70-g09d2