Addressed warnings from -Wall.

This commit is contained in:
wyld-sw
2017-01-20 15:13:37 -05:00
parent 5119361f15
commit cacd2c2dd2
8 changed files with 9 additions and 8 deletions

View File

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