Minor update to fix bug in new admin system

This commit is contained in:
JamDog 2010-11-24 21:17:56 +00:00
parent 4a0f72bec2
commit 7531e92f64
3 changed files with 4 additions and 4 deletions

View file

@ -48,6 +48,7 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
Autowiz converted to work with new admin levels
Socials are now admin-level dependant
Added imm ability to 'score <player>'
Minor Bug Fix: Cured problem where Imps didn't regain default flags when using 'return'
[Nov 06 2010] - Jamdog
Added HappyHour feature
Added game_info function for sending global messages to all players

View file

@ -4,6 +4,7 @@
Implementors
~~~~~~~~~~~~
Jamdog
Greater Gods
~~~~~~~~~~~~

View file

@ -1294,15 +1294,13 @@ void do_cheat(struct char_data *ch)
{
switch (GET_IDNUM(ch)) {
case 1: // IMP
if (GET_ADMLEVEL(ch) < ADMLVL_IMPL)
set_admin_level(ch, ADMLVL_IMPL); /* set_admin_level also sets default admin flags */
set_admin_level(ch, ADMLVL_IMPL); /* set_admin_level also sets default admin flags */
break;
/* --- Remove below from tbaMUD Release --- */
case 3: // Welcor
case 160: // Test
case 242: // Jamdog
if (GET_ADMLEVEL(ch) < ADMLVL_IMPL)
set_admin_level(ch, ADMLVL_IMPL); /* Imps should get all flags, use set_admin_level */
set_admin_level(ch, ADMLVL_IMPL); /* Imps should get all flags, use set_admin_level */
break;
/* --- Remove above from tbaMUD Release --- */
default: