summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-2-1/alige.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 0af3488e..62ae157b 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -176,6 +176,7 @@ l_GiveFood:
if (@id == 0) goto l_NoReward; // In case of wrong food.
if (@id == 1) goto l_Poison; // In case of poisoned food.
if (@id == 2) goto l_NoMore; // In case of Piberries.
+ if (countitem(@id) == 0) goto l_Quit;
// if (@id == item's ID) then food is correct.
// Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion.