summaryrefslogtreecommitdiff
path: root/npc/014-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-2')
-rw-r--r--npc/014-2/mouboo.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/014-2/mouboo.txt b/npc/014-2/mouboo.txt
index 69343a46c..746a1bf94 100644
--- a/npc/014-2/mouboo.txt
+++ b/npc/014-2/mouboo.txt
@@ -54,6 +54,7 @@ L_Begin:
.@id = requestitem();
// If ID is invalid, there's not enough items, it is bound = Cannot bury
+ if (.@id < 1) close;
if (.@id < 1 || countitem(.@id) < 1 || checkbound(.@id) || getiteminfo(.@id, ITEMINFO_TYPE) != IT_HEALING) {
if (checkbound(.@id))
mesc l("You cannot part with this item!");
@@ -107,6 +108,7 @@ L_Begin:
.@id = requestitem();
// If ID is invalid, there's not enough items, it is bound = Cannot bury
+ if (.@id < 1) close;
if (.@id < 1 || countitem(.@id) < 1 || getiteminfo(.@id, ITEMINFO_TYPE) != IT_WEAPON) {
if (getiteminfo(.@id, ITEMINFO_TYPE) != IT_WEAPON)
mesc l("This is not a weapon. Wait, you don't want to explode it, right?!");