mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Fixed warning in genzon.c checking bottom_of_zone. (Thanks Fizban) --Rumble
This commit is contained in:
parent
727bb9213c
commit
efb28b628d
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue