diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-01 21:37:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-01 21:37:51 -0300 |
commit | 7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb (patch) | |
tree | 22a214b9031c637e9c39b85d83d1d26bb6eaf7ac /npc/003-1/ishi.txt | |
parent | 14183c51fbdf2a7e068a2cd15ee78f4abc051179 (diff) | |
download | serverdata-7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb.tar.gz serverdata-7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb.tar.bz2 serverdata-7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb.tar.xz serverdata-7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb.zip |
Remove another useless do{}while() form Ishi. It is not needed in goto() syntax.
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r-- | npc/003-1/ishi.txt | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt index a99a7674a..699a1ef6b 100644 --- a/npc/003-1/ishi.txt +++ b/npc/003-1/ishi.txt @@ -136,23 +136,20 @@ L_Items: L_Continue: mesq l("You still have @@ Monster Points! Do you want more items?", Mobpt); - do - { - select - l("Yes"), - l("No"); - - switch (@menu) - { - case 1: - goto L_Give_all; - break; - case 2: - goto L_Close; - break; - } - } while (@menu != 2); + select + l("Yes"), + l("No"); + switch (@menu) + { + case 1: + goto L_Give_all; + break; + case 2: + goto L_Close; + break; + } + close; L_Give_all: .@var = Mobpt / @mpq_cost; |