Bug-Fix: NPC check added to do_gen_ps function (thanks drefs)
This commit is contained in:
@@ -34,6 +34,8 @@ OLC copy and delete options.
|
|||||||
export (QQ's a zone into a tarball)t
|
export (QQ's a zone into a tarball)t
|
||||||
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)
|
||||||
|
[Apr 11 2009] - Jamdog
|
||||||
|
Bug-Fix: NPC check added to do_gen_ps function (thanks drefs)
|
||||||
[Apr 06 2009] - Jamdog
|
[Apr 06 2009] - Jamdog
|
||||||
Bug-Fix: Changing a player name no longer allows two words (thanks Slicer)
|
Bug-Fix: Changing a player name no longer allows two words (thanks Slicer)
|
||||||
[Apr 05 2009] - Jamdog
|
[Apr 05 2009] - Jamdog
|
||||||
|
|||||||
@@ -1479,6 +1479,11 @@ ACMD(do_users)
|
|||||||
/* Generic page_string function for displaying text */
|
/* Generic page_string function for displaying text */
|
||||||
ACMD(do_gen_ps)
|
ACMD(do_gen_ps)
|
||||||
{
|
{
|
||||||
|
if (IS_NPC(ch)) {
|
||||||
|
send_to_char(ch, "Not for mobiles!\r\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (subcmd) {
|
switch (subcmd) {
|
||||||
case SCMD_CREDITS:
|
case SCMD_CREDITS:
|
||||||
page_string(ch->desc, credits, 0);
|
page_string(ch->desc, credits, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user