mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-28 11:56:10 +01:00
Fixed empty liquid container bug (thanks WhiskyTest)
This commit is contained in:
parent
702612ba53
commit
08374524d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue