Fixed variable definition halfway through do_oasis_zedit to allow compilation in MSVC. (thanks Lyceq)

This commit is contained in:
JamDog 2009-05-15 10:39:25 +00:00
parent bed412f47e
commit 7ac7eca7ac
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

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