summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 11:32:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 11:32:31 +0300
commitce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6 (patch)
tree01d2fd29324ee7cf32fb3ed4af88cd02ec56eee7 /npc
parentbff53f6ec0e6c65b5d05bed7bc69c9bc8d79931d (diff)
downloadclientdata-ce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6.tar.gz
clientdata-ce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6.tar.bz2
clientdata-ce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6.tar.xz
clientdata-ce6b3ee50d96a1ba0f0a4b9b264121c5ede1abb6.zip
Fix alige food selection.
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.