[Feb 08 2010] - Rumble

Added another define for Windows MSVC users to hide useless warnings. (thanks
Kyle)
  Added CIRCLE_WINDOWS check for tell m-w usage of getpid(). (thanks Kyle)
  Changed zcheck to ignore object type TRASH when checking for a cost of 0.
  Changed teleport level to LVL_BUILDER.
This commit is contained in:
Rumble 2010-02-08 00:51:45 +00:00
parent fc5442ad48
commit 7af7f1d8fa
6 changed files with 355 additions and 3 deletions

View file

@ -3624,7 +3624,7 @@ ACMD (do_zcheck)
"- is NO_TAKE, but has cost (%d) weight (%d) or rent (%d) set.\r\n",
GET_OBJ_COST(obj), GET_OBJ_WEIGHT(obj), GET_OBJ_RENT(obj));
} else {
if (GET_OBJ_COST(obj) == 0 && (found=1))
if (GET_OBJ_COST(obj) == 0 && (found=1) && GET_OBJ_TYPE(obj) != ITEM_TRASH)
len += snprintf(buf + len, sizeof(buf) - len,
"- has 0 cost (min. 1).\r\n");