From 1f941bef28ddfc9aa862caaafc19cc7523d4218f Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Thu, 8 Nov 2012 12:28:22 +0100 Subject: Fix usages of getinventorylist(): * replace incorrect usage of @inventory_count with the correct variable created by getinventorylist(): @inventorylist_count --- world/map/npc/009-4/orum.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'world/map/npc/009-4/orum.txt') diff --git a/world/map/npc/009-4/orum.txt b/world/map/npc/009-4/orum.txt index 727b2976..c7c6eb55 100644 --- a/world/map/npc/009-4/orum.txt +++ b/world/map/npc/009-4/orum.txt @@ -540,7 +540,7 @@ L_Ready_Cavern: mes "\"Very good work you have done! Please take this for your efforts. It has helped me in a bind.\""; next; getinventorylist; - if ((checkweight("CandleHelmet", 1) == 0) || (@inventory_count == 100)) + if ((checkweight("CandleHelmet", 1) == 0) || (@inventorylist_count == 100)) goto L_Inventory; getexp @EXP_BREAK_BARRIERS, 0; getitem "CandleHelmet", 1; -- cgit v1.2.3-70-g09d2