mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-24 03:00:13 +01:00
Added Jamdog to do_cheat. --Rumble
This commit is contained in:
parent
eac2c08bf1
commit
1dc7d9287a
3 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue