For those of you who are worried about immortals using mobile commands when
they shouldn't, IE when switched, in dg_mobcmds.c, find the lines that say
if (!IS_NPC(ch)) {
send_to_char( "Huh?!?\r\n", ch );
return;
}
and modify it so that it is
if (!IS_NPC(ch) || (ch->desc)) {
send_to_char( "Huh?!?\r\n", ch );
return;
}
For those of you who don't know what that does, is it checks for a
descriptor. This was in the mobprog mobcmd.c and I thought it might be a
good update.
-Bel.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+