summaryrefslogtreecommitdiff
path: root/src/game-server/character.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-07-15 22:01:41 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-07-17 21:58:40 +0200
commit7a72ec38d336ed56d2759795d4b9db59b76868b8 (patch)
tree0bf377084dd44faaaae53b05a4b97af0829b6347 /src/game-server/character.cpp
parentf126afd524133f207c07d5eb52e3e774ab41604e (diff)
downloadmanaserv-7a72ec38d336ed56d2759795d4b9db59b76868b8.tar.gz
manaserv-7a72ec38d336ed56d2759795d4b9db59b76868b8.tar.bz2
manaserv-7a72ec38d336ed56d2759795d4b9db59b76868b8.tar.xz
manaserv-7a72ec38d336ed56d2759795d4b9db59b76868b8.zip
Added lua binds for issuing request of quest variable + bind for trying to read them
The difference to the old chr_get_quest bind is that this allows querying quest vars from non npc functions as well. Change is tested. Reviewed-by: bjorn.
Diffstat (limited to 'src/game-server/character.cpp')
-rw-r--r--src/game-server/character.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp
index 71427342..a053cd83 100644
--- a/src/game-server/character.cpp
+++ b/src/game-server/character.cpp
@@ -67,7 +67,6 @@ static bool executeCallback(Script::Ref function, Character *character)
script->prepare(function);
script->push(character);
script->execute();
- script->setMap(0);
return true;
}