Topic: map boundaries and map.get_field(x,y)
kaputtnik![]() Topic Opener |
Posted at:
2023-01-08, 11:12 UTC+1.0
When calculating fields manually one has to check always if the calculated value does not exceed
To get around this one has to create a new Lua function which takes care if the value isn't correct and call this function first, e.g.
Wouldn't it be possible to have such a recalculating automatically in Somewhere in the code must be such a check, e.g. when calling ![]() ![]() |
Nordfriese![]() |
Posted at:
2023-01-08, 12:11 UTC+1.0
Easy enough to achieve… https://github.com/widelands/widelands/pull/5739 Functions like ![]() ![]() |