mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-10 18:14:21 +01: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
|
|
@ -74,7 +74,7 @@ zone_rnum create_new_zone(zone_vnum vzone_num, room_vnum bottom, room_vnum top,
|
|||
} else if (bottom > top) {
|
||||
*error = "Bottom room cannot be greater than top room.\r\n";
|
||||
return NOWHERE;
|
||||
} else if (bottom < 0) {
|
||||
} else if (bottom <= 0) {
|
||||
*error = "Bottom room cannot be less then 0.\r\n";
|
||||
return NOWHERE;
|
||||
} else if (top >= IDXTYPE_MAX) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue