diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/magic/forget.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/magic/forget.txt b/npc/magic/forget.txt index e410755eb..ab7f16ecb 100644 --- a/npc/magic/forget.txt +++ b/npc/magic/forget.txt @@ -15,7 +15,7 @@ function script ForgetfulNPC { { next; mesc l("Which skill will you FORGET permanently today?"), 1; - setarray .@forget$, l("Cancel"), -1; + setarray .@forget$, l("Cancel"), "0"; freeloop(true); for (.@i=0; .@i < getarraysize($@MSK_MAGIC) ; .@i++) { .@sk=$@MSK_MAGIC[.@i]; @@ -28,7 +28,7 @@ function script ForgetfulNPC { } freeloop(false); menuint2(".@forget$"); - if (@menuret < 1) + if (!@menuret) close; mes ""; mesc l("Skill @@ will be permanently lost!", getskillname(@menuret)), 1; |