From 08374524d003932d26d4728a3a531c401936c805 Mon Sep 17 00:00:00 2001 From: Rumble Date: Mon, 20 Mar 2017 11:58:48 +0100 Subject: [PATCH] Fixed empty liquid container bug (thanks WhiskyTest) --- src/act.item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/act.item.c b/src/act.item.c index c2d9785..3467659 100644 --- a/src/act.item.c +++ b/src/act.item.c @@ -885,7 +885,7 @@ ACMD(do_drink) send_to_char(ch, "Your stomach can't contain anymore!\r\n"); return; } - if ((GET_OBJ_VAL(temp, 1) == 0) || (GET_OBJ_VAL(temp, 0) != 1)) { + if (GET_OBJ_VAL(temp, 1) < 1) { send_to_char(ch, "It is empty.\r\n"); return; }