mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 06:54:07 +01:00
Just some cosmetic code cleanup
This commit is contained in:
parent
12c506c89a
commit
58ec913b46
12 changed files with 230 additions and 254 deletions
|
|
@ -78,18 +78,18 @@ static void prefedit_save_to_char(struct descriptor_data *d)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!vict) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (no vict)");
|
||||
send_to_char(d->character, "Unable to save toggles (no vict)");
|
||||
} else if (!vict->desc) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (no vict descriptor)");
|
||||
send_to_char(d->character, "Unable to save toggles (no vict descriptor)");
|
||||
} else if (!IS_PLAYING(vict->desc)) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (vict not playing)");
|
||||
send_to_char(d->character, "Unable to save toggles (vict not playing)");
|
||||
} else {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (unknown reason)");
|
||||
send_to_char(d->character, "Unable to save toggles (unknown reason)");
|
||||
if (!vict) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (no vict)");
|
||||
send_to_char(d->character, "Unable to save toggles (no vict)");
|
||||
} else if (!vict->desc) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (no vict descriptor)");
|
||||
send_to_char(d->character, "Unable to save toggles (no vict descriptor)");
|
||||
} else if (!IS_PLAYING(vict->desc)) {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (vict not playing)");
|
||||
send_to_char(d->character, "Unable to save toggles (vict not playing)");
|
||||
} else {
|
||||
mudlog(BRF, LVL_BUILDER, TRUE, "SYSERR: Unable to save toggles (unknown reason)");
|
||||
send_to_char(d->character, "Unable to save toggles (unknown reason)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue