summaryrefslogtreecommitdiff
path: root/src/scripting/lua.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 16:27:15 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 16:34:07 +0200
commit609a81096ec95e56e4516e73529942e48ea7b23b (patch)
treeb166ef943a744962af812a6e61927b0dd87fe1b5 /src/scripting/lua.cpp
parent2e1b6ac8453cd1579908f8712ca9a0069787b82f (diff)
downloadmanaserv-609a81096ec95e56e4516e73529942e48ea7b23b.tar.gz
manaserv-609a81096ec95e56e4516e73529942e48ea7b23b.tar.bz2
manaserv-609a81096ec95e56e4516e73529942e48ea7b23b.tar.xz
manaserv-609a81096ec95e56e4516e73529942e48ea7b23b.zip
Fixed compilation problem with GCC 4.4
Fix ported from the client.
Diffstat (limited to 'src/scripting/lua.cpp')
-rw-r--r--src/scripting/lua.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
/**