summaryrefslogtreecommitdiff
path: root/npc/functions/magic.txt
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2010-12-27 20:33:40 +0100
committerStefan Beller <stefanbeller@googlemail.com>2011-01-02 21:21:18 +0100
commit29a65c0d92c10fadff09802a8f044e4b35b9beda (patch)
tree2de707c3f59b7f570fd124ae9c6b5ed2e4ecc696 /npc/functions/magic.txt
parent99d4c071e4620e1704aa0947018b7c5e90171b02 (diff)
downloadserverdata-29a65c0d92c10fadff09802a8f044e4b35b9beda.tar.gz
serverdata-29a65c0d92c10fadff09802a8f044e4b35b9beda.tar.bz2
serverdata-29a65c0d92c10fadff09802a8f044e4b35b9beda.tar.xz
serverdata-29a65c0d92c10fadff09802a8f044e4b35b9beda.zip
remove the last compile errors
Diffstat (limited to 'npc/functions/magic.txt')
-rw-r--r--npc/functions/magic.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/magic.txt b/npc/functions/magic.txt
index 31baa66c..4dadb2a9 100644
--- a/npc/functions/magic.txt
+++ b/npc/functions/magic.txt
@@ -117,7 +117,9 @@ L_Q_post_imp:
if (@ignore & @QQ_ASTRALSOUL)
goto L_Q_post_astralsoul;
- if (!getskillv(SKILL_MAGIC) || !getskillv(SKILL_POOL))
+ if (!(getskilllv(SKILL_MAGIC)))
+ goto L_Q_post_astralsoul;
+ if (!(getskilllv(SKILL_POOL)))
goto L_Q_post_astralsoul;
set @choice$[@choices_nr], "...ways to improve my magic?";
set @choice_idx[@choices_nr], @QQ_IMP;