mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-29 12:26:10 +01:00
[Dec 22 2009] - Rumble
Made copyover save loadroom so players stay in the same room during copyover. Added scan command.
This commit is contained in:
parent
2b74ef23ad
commit
577d67041f
6 changed files with 111 additions and 5 deletions
|
|
@ -820,6 +820,9 @@ do \
|
|||
/** Does room pointer have direction option num? */
|
||||
#define R_EXIT(room, num) ((room)->dir_option[(num)])
|
||||
|
||||
#define _2ND_EXIT(ch, door) (world[EXIT(ch, door)->to_room].dir_option[door])
|
||||
#define _3RD_EXIT(ch, door) (world[_2ND_EXIT(ch, door)->to_room].dir_option[door])
|
||||
|
||||
/** Can ch walk through direction door. */
|
||||
#define CAN_GO(ch, door) (EXIT(ch,door) && \
|
||||
(EXIT(ch,door)->to_room != NOWHERE) && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue