Minor update to fix bug in new admin system
This commit is contained in:
@@ -48,6 +48,7 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
|||||||
Autowiz converted to work with new admin levels
|
Autowiz converted to work with new admin levels
|
||||||
Socials are now admin-level dependant
|
Socials are now admin-level dependant
|
||||||
Added imm ability to 'score <player>'
|
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
|
[Nov 06 2010] - Jamdog
|
||||||
Added HappyHour feature
|
Added HappyHour feature
|
||||||
Added game_info function for sending global messages to all players
|
Added game_info function for sending global messages to all players
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
Implementors
|
Implementors
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
Jamdog
|
||||||
|
|
||||||
Greater Gods
|
Greater Gods
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|||||||
@@ -1294,15 +1294,13 @@ void do_cheat(struct char_data *ch)
|
|||||||
{
|
{
|
||||||
switch (GET_IDNUM(ch)) {
|
switch (GET_IDNUM(ch)) {
|
||||||
case 1: // IMP
|
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;
|
break;
|
||||||
/* --- Remove below from tbaMUD Release --- */
|
/* --- Remove below from tbaMUD Release --- */
|
||||||
case 3: // Welcor
|
case 3: // Welcor
|
||||||
case 160: // Test
|
case 160: // Test
|
||||||
case 242: // Jamdog
|
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;
|
break;
|
||||||
/* --- Remove above from tbaMUD Release --- */
|
/* --- Remove above from tbaMUD Release --- */
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user