summaryrefslogtreecommitdiff
path: root/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2011-01-30 11:29:48 +0100
committerStefan Beller <stefanbeller@googlemail.com>2011-01-30 11:29:48 +0100
commita3024a4ca87ea4ec974076de8fabc66ce9cac0bd (patch)
tree334a8c402a09adc87cf6b4c7a5c2c41919e3d72c /npc/functions/clear_vars.txt
parenteb291d1c427ad057c2288d010ccd099cfd2b777d (diff)
downloadserverdata-a3024a4ca87ea4ec974076de8fabc66ce9cac0bd.tar.gz
serverdata-a3024a4ca87ea4ec974076de8fabc66ce9cac0bd.tar.bz2
serverdata-a3024a4ca87ea4ec974076de8fabc66ce9cac0bd.tar.xz
serverdata-a3024a4ca87ea4ec974076de8fabc66ce9cac0bd.zip
replace variable Naem_Quest_Done by bit in FLAGS var
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r--npc/functions/clear_vars.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt
index 4b3b2f14..62eada3d 100644
--- a/npc/functions/clear_vars.txt
+++ b/npc/functions/clear_vars.txt
@@ -99,6 +99,9 @@ function script ClearVariables {
if (Open_Underground_Palace_Barrier) set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND;
set Open_Underground_Palace_Barrier, 0;
+ if (Naem_Quest_Done) set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES;
+ set Naem_Quest_Done, 0;
+
if (#BankAccount < 0) goto FixBank;
return;