mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00
Update act.informative.c
Used code formatter to correct indentations and align all {} in lACMD(do_exits) Checked for unmactched braces and found none. My code editor shows all {} are matched.
This commit is contained in:
parent
041765438a
commit
34aca229df
1 changed files with 6 additions and 5 deletions
|
@ -467,7 +467,8 @@ ACMD(do_exits)
|
|||
send_to_char(ch, "%-5s -[%5d]%s %s\r\n", dirs[door], GET_ROOM_VNUM(EXIT(ch, door)->to_room),
|
||||
EXIT_FLAGGED(EXIT(ch, door), EX_HIDDEN) ? "[HIDDEN]" : "", world[EXIT(ch, door)->to_room].name);
|
||||
}
|
||||
else if (CONFIG_DISP_CLOSED_DOORS && EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED)) {
|
||||
else if (CONFIG_DISP_CLOSED_DOORS && EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED))
|
||||
{
|
||||
/*But we tell them the door is closed */
|
||||
send_to_char(ch, "%-5s - The %s is closed%s\r\n", dirs[door],
|
||||
(EXIT(ch, door)->keyword) ? fname(EXIT(ch, door)->keyword) : "opening",
|
||||
|
@ -478,10 +479,10 @@ ACMD(do_exits)
|
|||
send_to_char(ch, "%-5s - %s\r\n", dirs[door], IS_DARK(EXIT(ch, door)->to_room) &&
|
||||
!CAN_SEE_IN_DARK(ch) ? "Too dark to tell." : world[EXIT(ch, door)->to_room].name);
|
||||
}
|
||||
}
|
||||
if (!len)
|
||||
send_to_char(ch, " None.\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
void look_at_room(struct char_data *ch, int ignore_brief)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue