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...
Bug #772516
server crash when marine unit captured by land unit
0%
Description
I added "Capturable" flag to some transport ships, and now they can be captured by land unit
(either if close to the shore, or from aboard if land unit class have non-native flags on).
Noteworthy is, that after successful capture, land units doesn't enter aboard captured ship.
Unfortunately, it works well only for empty transport ships. If ship is loaded, it cause server crash with the following message:
1: in create_unit_full() [../../../../server/unittools.c::1581]: assertion '!ptile || can_unit_exist_at_tile(punit, ptile)' failed.
I checked also case with capturing land units, which can carry other units: whole stack is captured.
Maybe it is a bug - loaded unit should not to be captured, as stacked units are.
History
#1
Updated by Marko Lindqvist over 2 years ago
- Tracker changed from Task to Bug
#2
Updated by Marko Lindqvist over 1 year ago
- File 0009-Disallow-capturing-occupied-transports.patch 0009-Disallow-capturing-occupied-transports.patch added
- File 0002-Disallow-capturing-occupied-transports.patch 0002-Disallow-capturing-occupied-transports.patch added
- Category set to Server
- Status changed from New to Resolved
- Sprint/Milestone set to 2.5.12
#3
Updated by Marko Lindqvist over 1 year ago
- File 0008-Disallow-capturing-occupied-transports.patch 0008-Disallow-capturing-occupied-transports.patch added
New version of master/S3_0 patch: Fix rulesets
#4
Updated by Marko Lindqvist over 1 year ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist