mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 00:04:07 +01:00
Addressed warnings from -Wall.
This commit is contained in:
parent
5119361f15
commit
cacd2c2dd2
8 changed files with 9 additions and 8 deletions
|
|
@ -880,7 +880,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) == 0) || (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