From 60f214d99745f7db315ef9770a1d7dd9b41e9207 Mon Sep 17 00:00:00 2001 From: "John M. Davis" Date: Thu, 16 Oct 2025 21:24:21 -0400 Subject: [PATCH] Minor tweak to fix unlimited liquid containers. --- 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 3a34604..a0fc417 100644 --- a/src/act.item.c +++ b/src/act.item.c @@ -873,7 +873,7 @@ ACMD(do_drink) send_to_char(ch, "Your stomach can't contain anymore!\r\n"); return; } - if (GET_OBJ_VAL(temp, 1) < 1) { + if ((GET_OBJ_VAL(temp, 1) < 1) && (GET_OBJ_VAL(temp, 0) != -1)) { send_to_char(ch, "It is empty.\r\n"); return; }