Fixed warning in genzon.c checking bottom_of_zone. (Thanks Fizban) --Rumble

This commit is contained in:
Rumble 2013-04-09 09:44:55 +00:00
parent 727bb9213c
commit efb28b628d
2 changed files with 3 additions and 1 deletions

View file

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

View file

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