mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-24 03:00:13 +01:00
Bug Fix: sedit, copy shop option causing a crash (Thanks slicer)
This commit is contained in:
parent
1786aa135d
commit
7480df9d35
2 changed files with 3 additions and 1 deletions
|
|
@ -34,6 +34,8 @@ OLC copy and delete options.
|
|||
export (QQ's a zone into a tarball)
|
||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||
(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
|
||||
Added autoassist, autoloot, autogold, autosplit, autosacrifice and automap commands.
|
||||
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;
|
||||
case SEDIT_COPY:
|
||||
if ((i = real_room(atoi(arg))) != NOWHERE) {
|
||||
if ((i = real_shop(atoi(arg))) != NOWHERE) {
|
||||
sedit_setup_existing(d, i);
|
||||
} else
|
||||
write_to_output(d, "That shop does not exist.\r\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue