summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPrzemysław Grzywacz <nexather@gmail.com>2013-09-21 20:31:40 +0200
committerPrzemysław Grzywacz <nexather@gmail.com>2013-09-21 20:31:56 +0200
commitc34929b7e8afc158f190c9a224384457df5063cc (patch)
treeabc8515272602e0e49c5eb292d67d20b65deae12 /src
parenteeaed5e25c06fe5efe337992ae9a9b2dfa3858fb (diff)
downloadmanaserv-c34929b7e8afc158f190c9a224384457df5063cc.tar.gz
manaserv-c34929b7e8afc158f190c9a224384457df5063cc.tar.bz2
manaserv-c34929b7e8afc158f190c9a224384457df5063cc.tar.xz
manaserv-c34929b7e8afc158f190c9a224384457df5063cc.zip
Removed invalid boolean check in set_questlog_description()
Diffstat (limited to 'src')
-rw-r--r--src/scripting/lua.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index 6ce4cd76..0c235e5d 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -2454,7 +2454,6 @@ static int set_questlog_description(lua_State *s)
{
const Entity *character = checkCharacter(s, 1);
const int questId = luaL_checkinteger(s, 2);
- luaL_argcheck(s, lua_isboolean(s, 3), 3, "boolean expected");
const char *questDescription = luaL_checkstring(s, 3);
const bool questNotification = checkOptionalBool(s, 4, true);