From ce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 31 Dec 2012 11:32:31 +0300 Subject: Fix alige food selection. --- npc/000-2-1/alige.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc') 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. -- cgit v1.2.3-70-g09d2