Ok, this quick fix is for void do_doorcmd() in act.movement.c
The problem is this:
Someone's sleeping in a room. The door opens or closes from the other side.
That sleeping person sees text about it opening or closing!!!
Here's the fix...
In /* Notify the other room */
take out this:
send_to_room(buf, EXIT(ch, door)->to_room);
add this:
if (world[EXIT(ch, door)->to_room].people) {
act(buf, FALSE, world[EXIT(ch, door)->to_room].people, 0, 0, TO_ROOM);
act(buf, FALSE, world[EXIT(ch, door)->to_room].people, 0, 0, TO_CHAR);
}
linc aka Aladdin of Eternity DikuMUD
This archive was generated by hypermail 2b30 : 12/07/00 PST