mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-26 05:21:45 +01:00
Reverted. Still can't see OLC in wiznet, have to do some digging to fix this. --Rumble
This commit is contained in:
@@ -2220,8 +2220,12 @@ ACMD(do_wiznet)
|
|||||||
if (IS_PLAYING(d) && (GET_LEVEL(d->character) >= level) &&
|
if (IS_PLAYING(d) && (GET_LEVEL(d->character) >= level) &&
|
||||||
(!PRF_FLAGGED(d->character, PRF_NOWIZ))
|
(!PRF_FLAGGED(d->character, PRF_NOWIZ))
|
||||||
&& (d != ch->desc || !(PRF_FLAGGED(d->character, PRF_NOREPEAT)))) {
|
&& (d != ch->desc || !(PRF_FLAGGED(d->character, PRF_NOREPEAT)))) {
|
||||||
|
if (CAN_SEE(d->character, ch))
|
||||||
msg = act(buf1, FALSE, d->character, 0, 0, TO_CHAR | DG_NO_TRIG);
|
msg = act(buf1, FALSE, d->character, 0, 0, TO_CHAR | DG_NO_TRIG);
|
||||||
add_history(d->character, msg, HIST_WIZNET);
|
else
|
||||||
|
msg = act(buf2, FALSE, d->character, 0, 0, TO_CHAR | DG_NO_TRIG);
|
||||||
|
|
||||||
|
add_history(d->character, msg, HIST_WIZNET);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user