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

Check psTile->psObject before resetting #3770

Conversation

past-due
Copy link
Member

@past-due past-due commented Apr 27, 2024

With the recent changes that may cause script object removals to be queued (and permit building structures on top of structures queued for removal, see: #3767), ensure that psTile->psObject is only reset if it matches the object being deleted.

@past-due past-due requested a review from ManManson April 27, 2024 21:15
With the recent changes that may cause script object removals to be queued (and permit building structures on top of structures queued for removal), ensure that `psTile->psObject` is only reset if it matches the object being deleted.
@past-due past-due force-pushed the 2024_04_check_tile_object_before_resetting_1 branch from fdb7e04 to 4abd1c0 Compare April 28, 2024 17:54
@past-due past-due merged commit 1f8938a into Warzone2100:master Apr 28, 2024
37 checks passed
@past-due past-due deleted the 2024_04_check_tile_object_before_resetting_1 branch April 28, 2024 18:56
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