HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Bug #943039
closedCrash in lua Tile:is_enemy
0%
Description
common/scriptcore/api_game_methods:api_methods_enemy_tile()
will assert if called on an empty tile. This appears to be because the guard ptile != NULL
before the city_owner(pcity)
call should instead check that pcity != NULL
.
Observed on fc21, but code inspection suggests the same issue is present on master.
Files
Updated by Marko Lindqvist about 1 year ago
- File 0049-Lua-Fix-tile-is_enemy-crash-when-the-tile-has-no-cit.patch 0049-Lua-Fix-tile-is_enemy-crash-when-the-tile-has-no-cit.patch added
- Category set to General
- Status changed from New to Approved
- Assignee set to Marko Lindqvist
- Sprint/Milestone set to 3.0.1
Thanks. Fix for all branches (S3_0+) attached.
Please open future tickets in the new bug tracker at https://osdn.net/projects/freeciv/ticket/
Updated by Edward Cree about 1 year ago
You might want to change the "About" information on https://github.com/freeciv/freeciv/, then, as that still points here ☺
Updated by Marko Lindqvist about 1 year ago
Edward Cree wrote:
You might want to change the "About" information on https://github.com/freeciv/freeciv/, then, as that still points here ☺
Oops. The README.md there was correct, but had missed the github "About" field. Fixed. Thanks.