forwarded 595448 http://savannah.nongnu.org/bugs/?27969
tags 595448 upstream confirmed
thanks

The assertion is only triggered when the opponents race track is
destroyed, one can also trigger it from within the editor by loading
the map and deleting the race track.

The problem lies within the tutorial data itself, Map::load loads a map
description into map->cases where the race track occupies an area of
size 6x6.

The building however is of type 15 (racetrack0c, racetrack level 0 in
construction). The size of the racetrack level 0 is 4x4. When the
building is destroyed, map->cases has to be updated. But since the
building is actually smaller than the 6x6 area that is marked as
occupied on the map, a 2 unit wide border is left referencing the
building.

When a map to building look up is performed on that shadow, the
assertion is triggered.

I fixed the map by setting the buildings type to 17 (racetrack1c,
racetrack level 1 in construction). You can find the corrected map at

http://cache.jade-hamburg.de/~teythoon/stuff/tutorial-part4.map

Cheers,
Justus



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to