summaryrefslogtreecommitdiff
path: root/src/scripting/lua.cpp
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2008-06-26 14:00:33 +0000
committerRoderic Morris <roderic@ccs.neu.edu>2008-06-26 14:00:33 +0000
commitbb8623fa6e5584adeee6a613b3a28cb5550048d9 (patch)
treeb8e980b14de4007fcd03f6cbc869d3c8e0d29ad2 /src/scripting/lua.cpp
parent7250de62aa9b14697eb861e7c13978ba439a8f0c (diff)
downloadmanaserv-bb8623fa6e5584adeee6a613b3a28cb5550048d9.tar.gz
manaserv-bb8623fa6e5584adeee6a613b3a28cb5550048d9.tar.bz2
manaserv-bb8623fa6e5584adeee6a613b3a28cb5550048d9.tar.xz
manaserv-bb8623fa6e5584adeee6a613b3a28cb5550048d9.zip
fix compile error, and improve guild related methods
Diffstat (limited to 'src/scripting/lua.cpp')
-rw-r--r--src/scripting/lua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index cb8e906c..ae9ff1b2 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -188,7 +188,7 @@ static int LuaNpc_Choice(lua_State *s)
*/
static int LuaNpc_Create(lua_State *s)
{
- if (!lua_isstring(s, 1), !lua_isnumber(s, 2) || !lua_isnumber(s, 3) || !lua_isnumber(s, 4))
+ if (!lua_isstring(s, 1) || !lua_isnumber(s, 2) || !lua_isnumber(s, 3) || !lua_isnumber(s, 4))
{
raiseScriptError(s, "npc_create called with incorrect parameters.");
return 0;