mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-23 03:51:52 +01:00
Added Jamdog to do_cheat. --Rumble
This commit is contained in:
@@ -277,7 +277,7 @@ int valid_dg_target(struct char_data *ch, int bitvector)
|
||||
{
|
||||
if (IS_NPC(ch))
|
||||
return TRUE; /* all npcs are allowed as targets */
|
||||
else if ((STATE(ch->desc) != CON_PLAYING))
|
||||
else if (ch->desc && (STATE(ch->desc) != CON_PLAYING))
|
||||
return FALSE; /* Only PC's who are playing can be targetted */
|
||||
else if (GET_LEVEL(ch) < LVL_IMMORT)
|
||||
return TRUE; /* as well as all mortals */
|
||||
|
||||
Reference in New Issue
Block a user