Fixed empty liquid container bug (thanks WhiskyTest)
This commit is contained in:
@@ -885,7 +885,7 @@ ACMD(do_drink)
|
|||||||
send_to_char(ch, "Your stomach can't contain anymore!\r\n");
|
send_to_char(ch, "Your stomach can't contain anymore!\r\n");
|
||||||
return;
|
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");
|
send_to_char(ch, "It is empty.\r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user