stefanhendriks / Dune-II---The-Maker

A remake of the classic Dune 2 - The Building of a Dynasty (by Westwood Studios) with several enhancements. Like: higher screenresolutions, zooming, multiselect, skirmish play, etc.
https://www.dune2themaker.com
302 stars 27 forks source link

Software crash on clic in minimap #489

Closed Mira-Chronos closed 2 years ago

Mira-Chronos commented 2 years ago

I create a game, skirmish mode. and i take random map. With static map, i get no problem. As soon as I have the radar building operational, if I click on the minimap then the software crashes.

I have this error

mira@Ryzen5-2600:~/Bureau/Dune-II---The-Maker$ ./d2tm -windowed
d2tm: /home/mira/Bureau/Dune-II---The-Maker/drawers/cMiniMapDrawer.cpp :283 : int cMiniMapDrawer::getMouseCell(int, int): 
 l'assertion « map->getHeight() <= 64 » a échoué.
Shutting down Allegro due to signal #6
Abandon (core dumped)
Mira-Chronos commented 2 years ago

I know why.