mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 18:50:13 +01:00
Fixed variable definition halfway through do_oasis_zedit to allow compilation in MSVC. (thanks Lyceq)
This commit is contained in:
parent
bed412f47e
commit
7ac7eca7ac
2 changed files with 3 additions and 2 deletions
|
|
@ -34,6 +34,8 @@ OLC copy and delete options.
|
||||||
export (QQ's a zone into a tarball)t
|
export (QQ's a zone into a tarball)t
|
||||||
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 15 2009] - Jamdog
|
||||||
|
Fixed variable definition halfway through do_oasis_zedit to allow compilation in MSVC. (thanks Lyceq)
|
||||||
[May 13 2009] - Jamdog
|
[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)
|
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
|
[Apr 13 2009] - Jamdog
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ ACMD(do_oasis_zedit)
|
||||||
char sbot[MAX_STRING_LENGTH];
|
char sbot[MAX_STRING_LENGTH];
|
||||||
char buf1[MAX_STRING_LENGTH];
|
char buf1[MAX_STRING_LENGTH];
|
||||||
char buf2[MAX_STRING_LENGTH];
|
char buf2[MAX_STRING_LENGTH];
|
||||||
|
room_vnum bottom, top;
|
||||||
|
|
||||||
/* No building as a mob or while being forced. */
|
/* No building as a mob or while being forced. */
|
||||||
if (IS_NPC(ch) || !ch->desc || STATE(ch->desc) != CON_PLAYING)
|
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");
|
send_to_char(ch, "Zones cannot contain negative vnums.\r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
room_vnum bottom, top;
|
|
||||||
|
|
||||||
number = atoidx(buf2);
|
number = atoidx(buf2);
|
||||||
if (number < 0)
|
if (number < 0)
|
||||||
number = NOWHERE;
|
number = NOWHERE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue