diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-19 21:09:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-19 21:09:38 +0300 |
commit | e1ca11a950b7553cbafff6902a26c6a4023f9df9 (patch) | |
tree | 1c78eeb01157f7df66b42130716b1a1928f93911 /npc/001-1/enora.txt | |
parent | 1c644eea65083558fc029345a8b4d2b81d0625e1 (diff) | |
download | serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.gz serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.bz2 serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.tar.xz serverdata-e1ca11a950b7553cbafff6902a26c6a4023f9df9.zip |
Replace select with yes/no to askyesno function.
Diffstat (limited to 'npc/001-1/enora.txt')
-rw-r--r-- | npc/001-1/enora.txt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt index e27cd4a1..00e88ca8 100644 --- a/npc/001-1/enora.txt +++ b/npc/001-1/enora.txt @@ -341,14 +341,10 @@ speech 5, l("Are you sure that they are my potions?"); - switch (select (menuaction(l("Yes")), menuaction(l("No")))) + if (askyesno() == ASK_YES) { - case 1: - delitem PibberiesInfusion, 5; - enora_fourth_quest; - break; - case 2: - break; + delitem PibberiesInfusion, 5; + enora_fourth_quest; } return; |