Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in game saving code #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmitry-brizhinev
Copy link

This error prevents values of type ev_entity from being saved.

I saw this manifest as a reproducible crash with Scourge of Armagon, caused by the persistent-bullet-holes code:

  1. Start a new game of Scourge of Armagon
  2. Walk up to a wall and shoot the shotgun at it more than 10 times (when the bullet holes start disappearing)
  3. Save the game
  4. Load the game
  5. Shoot the shotgun again -> crash with "bullethole == nullentity"

This error prevents values of type ev_entity from being saved.

I saw this manifest as a reproducible crash with Scourge of Armagon, caused by the persistent-bullet-holes code:
1. Start a new game of Scourge of Armagon
2. Walk up to a wall and shoot the shotgun at it more than 10 times (when the bullet holes start disappearing)
3. Save the game
4. Load the game
5. Shoot the shotgun again -> crash with "bullethole == nullentity"
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.

None yet

1 participant