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

@ -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: