implement beam rendering if shooter or target is already destroyed

This commit is contained in:
2026-04-28 21:01:00 +02:00
parent 9278425d44
commit e0c3217564
4 changed files with 271 additions and 20 deletions

View File

@@ -159,6 +159,9 @@ void Simulation::tick()
m_combatSystem->tick(m_currentTick, *m_shipSystem,
*m_buildingSystem, m_fireEvents);
// Step 8b: deferred damage whose impact tick has arrived
m_combatSystem->applyPendingDamage(m_currentTick, *m_shipSystem, *m_buildingSystem);
// Step 9: deaths & loot
if (!m_gameOver)
{