diff --git a/changelog b/changelog index f9dc8cf..93c6cca 100644 --- a/changelog +++ b/changelog @@ -34,6 +34,8 @@ OLC copy and delete options. export (QQ's a zone into a tarball)t Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) (lots of major bugfixes too) +[May 15 2009] - Jamdog + Fixed variable definition halfway through do_oasis_zedit to allow compilation in MSVC. (thanks Lyceq) [May 13 2009] - Jamdog Bug-Fix: quest join check for previous quest completion, and validation checks for prev and next quests in qedit. (thanks drefs) [Apr 13 2009] - Jamdog diff --git a/src/zedit.c b/src/zedit.c index dbc0236..5216ea1 100644 --- a/src/zedit.c +++ b/src/zedit.c @@ -43,6 +43,7 @@ ACMD(do_oasis_zedit) char sbot[MAX_STRING_LENGTH]; char buf1[MAX_STRING_LENGTH]; char buf2[MAX_STRING_LENGTH]; + room_vnum bottom, top; /* No building as a mob or while being forced. */ if (IS_NPC(ch) || !ch->desc || STATE(ch->desc) != CON_PLAYING) @@ -82,8 +83,6 @@ ACMD(do_oasis_zedit) send_to_char(ch, "Zones cannot contain negative vnums.\r\n"); return; } - room_vnum bottom, top; - number = atoidx(buf2); if (number < 0) number = NOWHERE;