sudasana / armcom2

Armoured Commander II
104 stars 13 forks source link

Crash on close combat #16

Closed Doubleumc closed 4 years ago

Doubleumc commented 4 years ago

ArmCom2 1.0.4, Windows 10 Riflemen and Opel immediately in front of tank. Upon starting assault, defending riflemen is destroyed, then game crashes. Crash is consistent and repeatable. Save file(s) attached. savegame.zip

Doubleumc commented 4 years ago

Additional crash, similar situation. HMG and Opel immediately in front of tank. Start assault, HMG destroyed, then game crashes. Not consistent. Second attempt Opel was destroyed first, then HMG. No crash. savegame.zip

sudasana commented 4 years ago

Thanks for finding this! It had been reported before I was never able to isolate it. Default close combat firepower had been set to 0, which led to a division by zero crash when non-combat units like trucks were involved. Fixed in 1.0.5.