#2740: the "building too close to edge" warnings have become annoying in 2.3.8
-------------------------------------+--------------------------
Reporter: pabs | Type: bug
Status: new | Priority: normal
Milestone: unspecified | Component: Engine: GUI
Version: 2.3.8 | Keywords:
Operating System: All/Non-Specific | Blocked By:
Blocking: |
-------------------------------------+--------------------------
Now that the warnings/errors are displayed on-screen instead of just on
the console, I think annoying warnings should be removed or hidden. One of
them:
{{{
//check not trying to build too near the edge
if (map_coord(x) < TOO_NEAR_EDGE || map_coord(x) > (mapWidth -
TOO_NEAR_EDGE))
{
debug(LOG_ERROR, "attempting to build too closely to map-edge, "
"x coord (%u) too near edge (req. distance is %u)", x,
TOO_NEAR_EDGE);
return NULL;
}
if (map_coord(y) < TOO_NEAR_EDGE || map_coord(y) > (mapHeight -
TOO_NEAR_EDGE))
{
debug(LOG_ERROR, "attempting to build too closely to map-edge, "
"y coord (%u) too near edge (req. distance is %u)", y,
TOO_NEAR_EDGE);
return NULL;
}
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/2740>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev