When ramming structures with a vehicle, damage to the vehicle was applied before the movement was completed and the level data was updated, so on death we'd try to remove its corpse from an empty tile. To fix this, we can store vehicle damage and resolve it after the current grid movement is completed.
Issue: https://github.com/1dot13/source/issues/94
When ramming structures with a vehicle, damage to the vehicle was applied before the movement was completed and the level data was updated, so on death we'd try to remove its corpse from an empty tile. To fix this, we can store vehicle damage and resolve it after the current grid movement is completed.