Fixed warning in genzon.c checking bottom_of_zone. (Thanks Fizban) --Rumble
This commit is contained in:
@@ -2,6 +2,8 @@ TbaMUD is currently being developed by The Builder Academy. If you need any
|
|||||||
help, find any bugs, or have ideas for improvement please stop by TBA at
|
help, find any bugs, or have ideas for improvement please stop by TBA at
|
||||||
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
|
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
|
||||||
@
|
@
|
||||||
|
[Apr 09 2013] - Rumble
|
||||||
|
Fixed warning in genzon.c checking bottom_of_zone. (Thanks Fizban)
|
||||||
[Apr 08 2013] - Rumble
|
[Apr 08 2013] - Rumble
|
||||||
Fixed wizlist so it is viewable in OLC again. (Thanks Silvaria)
|
Fixed wizlist so it is viewable in OLC again. (Thanks Silvaria)
|
||||||
Fixed color bleeding in level range menu. (Thanks Silvaria)
|
Fixed color bleeding in level range menu. (Thanks Silvaria)
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ zone_rnum create_new_zone(zone_vnum vzone_num, room_vnum bottom, room_vnum top,
|
|||||||
} else if (bottom > top) {
|
} else if (bottom > top) {
|
||||||
*error = "Bottom room cannot be greater than top room.\r\n";
|
*error = "Bottom room cannot be greater than top room.\r\n";
|
||||||
return NOWHERE;
|
return NOWHERE;
|
||||||
} else if (bottom < 0) {
|
} else if (bottom <= 0) {
|
||||||
*error = "Bottom room cannot be less then 0.\r\n";
|
*error = "Bottom room cannot be less then 0.\r\n";
|
||||||
return NOWHERE;
|
return NOWHERE;
|
||||||
} else if (top >= IDXTYPE_MAX) {
|
} else if (top >= IDXTYPE_MAX) {
|
||||||
|
|||||||
Reference in New Issue
Block a user