Minor tweak to fix unlimited liquid containers.

This commit is contained in:
John M. Davis 2025-10-16 21:24:21 -04:00
parent f6339b495e
commit 60f214d997

View file

@ -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;
}