summaryrefslogtreecommitdiff
path: root/npc/003-1/ishi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r--npc/003-1/ishi.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt
index e371acfc5..2283af685 100644
--- a/npc/003-1/ishi.txt
+++ b/npc/003-1/ishi.txt
@@ -159,7 +159,7 @@ L_Items:
//debugmes "Setting reward"; // could be if (!.@lucked) but for sanity...
if (.@reward$ == "")
- set .@reward$, @Items$[rand(getarraysize(@Items$))];
+ .@reward$=any_of(@Items$);
//debugmes "Check weight";
.@weight = checkweight(.@reward$,1);