mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-13 19:44:21 +01:00
[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:
parent
fc5442ad48
commit
7af7f1d8fa
6 changed files with 355 additions and 3 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue