Skip to content

Vehicle removal on death fix#210

Merged
Asdow merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:vehicle-removal-on-death-fix
Aug 28, 2023
Merged

Vehicle removal on death fix#210
Asdow merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:vehicle-removal-on-death-fix

Conversation

@andrzejfalkowski
Copy link
Copy Markdown
Contributor

Issue: #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.

@Asdow Asdow merged commit 7edecd6 into 1dot13:master Aug 28, 2023
@andrzejfalkowski andrzejfalkowski deleted the vehicle-removal-on-death-fix branch August 31, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants