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

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