Skip to content

fix: read the live Player from the game instead of caching it - #161

Merged
Axertin merged 1 commit into
masterfrom
fix/issue157-freed-player-pointer
Aug 3, 2026
Merged

fix: read the live Player from the game instead of caching it#161
Axertin merged 1 commit into
masterfrom
fix/issue157-freed-player-pointer

Conversation

@Axertin

@Axertin Axertin commented Aug 3, 2026

Copy link
Copy Markdown
Owner

The ctor-detour capture was only ever cleared on WorldDestroy, so a Player freed by a room warp left a dangling pointer that apply_upgrades walked the next time an upgrade item arrived (#157).

The ctor-detour capture was only ever cleared on WorldDestroy, so a Player freed
by a room warp left a dangling pointer that apply_upgrades walked the next time
an upgrade item arrived (#157).
@Axertin Axertin linked an issue Aug 3, 2026 that may be closed by this pull request
3 tasks
@Axertin
Axertin merged commit ece6bcb into master Aug 3, 2026
4 checks passed
@Axertin
Axertin deleted the fix/issue157-freed-player-pointer branch August 3, 2026 14:29
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.

Game Crashes When Choosing To Rest On Train To Coltrane Before Defeating Thorne 2

1 participant