mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-21 17:50:13 +01:00
Added send_cannot_edit, removed LVL_FREEZE, and fixed fight_messages. --Rumble
This commit is contained in:
parent
f2bb44ceb1
commit
42377c319a
37 changed files with 6212 additions and 7018 deletions
|
|
@ -211,10 +211,7 @@ void update_pos(struct char_data *victim);
|
|||
#define ROOM_FLAGS(loc) (world[(loc)].room_flags)
|
||||
#define SPELL_ROUTINES(spl) (spell_info[spl].routines)
|
||||
|
||||
/*
|
||||
* See http://www.circlemud.org/~greerga/todo/todo.009 to eliminate MOB_ISNPC.
|
||||
* IS_MOB() acts as a VALID_MOB_RNUM()-like function.
|
||||
*/
|
||||
/* IS_MOB() acts as a VALID_MOB_RNUM()-like function.*/
|
||||
#define IS_NPC(ch) (IS_SET(MOB_FLAGS(ch), MOB_ISNPC))
|
||||
#define IS_MOB(ch) (IS_NPC(ch) && GET_MOB_RNUM(ch) <= top_of_mobt && \
|
||||
GET_MOB_RNUM(ch) != NOBODY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue