mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-13 21:08:50 +01:00
Minor tweak to fix unlimited liquid containers.
This commit is contained in:
parent
f6339b495e
commit
60f214d997
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue