mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-20 02:21:44 +01:00
New Group System, Room Events, and Event System Efficiency Upgrade... and a couple bug fixes.
This commit is contained in:
@@ -74,6 +74,12 @@ 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) {
|
||||
*error = "Bottom room cannot be less then 0.\r\n";
|
||||
return NOWHERE;
|
||||
} else if (top >= IDXTYPE_MAX) {
|
||||
*error = "Top greater than IDXTYPE_MAX. (Commonly 65535)\r\n";
|
||||
return NOWHERE;
|
||||
}
|
||||
|
||||
for (i = 0; i < top_of_zone_table; i++)
|
||||
|
||||
Reference in New Issue
Block a user