Changed do_cheat so only ID 1 gets admin level and flags changed

This commit is contained in:
JamDog 2010-12-02 00:13:59 +00:00
parent 3fa8ebe048
commit 8f586bdd2a
2 changed files with 2 additions and 7 deletions

View file

@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
(lots of major bugfixes too) (lots of major bugfixes too)
@ @
[Dec 01 2010] - Jamdog
Fixed do_cheat so that only ID 1 can get a full restoration
[Nov 30 2010] - Jamdog [Nov 30 2010] - Jamdog
Bug-Fix: Fixed incorrect rnum showing on stat room <vnum> (Thanks Kam) Bug-Fix: Fixed incorrect rnum showing on stat room <vnum> (Thanks Kam)
Added hsedit House Editor OLC Added hsedit House Editor OLC

View file

@ -1296,13 +1296,6 @@ void do_cheat(struct char_data *ch)
case 1: // IMP case 1: // IMP
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; break;
/* --- Remove below from tbaMUD Release --- */
case 3: // Welcor
case 160: // Test
case 242: // Jamdog
set_admin_level(ch, ADMLVL_IMPL); /* Imps should get all flags, use set_admin_level */
break;
/* --- Remove above from tbaMUD Release --- */
default: default:
if (PRF_FLAGGED(ch, PRF_MORTAL)) { if (PRF_FLAGGED(ch, PRF_MORTAL)) {
stop_mortal(ch); stop_mortal(ch);