Bug Fix: sedit, copy shop option causing a crash (Thanks slicer)

This commit is contained in:
JamDog
2009-05-24 17:24:17 +00:00
parent 1786aa135d
commit 7480df9d35
2 changed files with 3 additions and 1 deletions

View File

@@ -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");