Bug Fix: sedit, copy shop option causing a crash (Thanks slicer)
This commit is contained in:
@@ -34,6 +34,8 @@ OLC copy and delete options.
|
|||||||
export (QQ's a zone into a tarball)
|
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)
|
||||||
|
[May 24 2009] - Jamdog
|
||||||
|
Bug-Fix: sedit, copy shop option was causing a crash (Thanks slicer)
|
||||||
[May 21 2009] - Jamdog
|
[May 21 2009] - Jamdog
|
||||||
Added autoassist, autoloot, autogold, autosplit, autosacrifice and automap commands.
|
Added autoassist, autoloot, autogold, autosplit, autosacrifice and automap commands.
|
||||||
Added autodoor toggle and command (autofind next door when opening/closing/unlocking/picking)
|
Added autodoor toggle and command (autofind next door when opening/closing/unlocking/picking)
|
||||||
|
|||||||
@@ -763,7 +763,7 @@ void sedit_parse(struct descriptor_data *d, char *arg)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SEDIT_COPY:
|
case SEDIT_COPY:
|
||||||
if ((i = real_room(atoi(arg))) != NOWHERE) {
|
if ((i = real_shop(atoi(arg))) != NOWHERE) {
|
||||||
sedit_setup_existing(d, i);
|
sedit_setup_existing(d, i);
|
||||||
} else
|
} else
|
||||||
write_to_output(d, "That shop does not exist.\r\n");
|
write_to_output(d, "That shop does not exist.\r\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user