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/qpid.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/qpid.txt')
-rw-r--r-- | npc/001-1/qpid.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/npc/001-1/qpid.txt b/npc/001-1/qpid.txt index 6f3a2883..6ffc954a 100644 --- a/npc/001-1/qpid.txt +++ b/npc/001-1/qpid.txt @@ -128,14 +128,9 @@ l("But if you fail, you will have to get them from the alchemist."), l("Deal?"); - switch (select (menuaction(l("Yes")), - menuaction(l("No")))) + if (askyesno() == ASK_YES) { - case 1: - riddle_enigma; - break; - case 2: - break; + riddle_enigma; } return; } |