Skip to content

fix downcast#386

Merged
atupone merged 1 commit into
BZFlag-Dev:2.4from
atupone:invalidDownCast
Jun 5, 2026
Merged

fix downcast#386
atupone merged 1 commit into
BZFlag-Dev:2.4from
atupone:invalidDownCast

Conversation

@atupone

@atupone atupone commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

When receiving a GM_UPDATE the current code does not check if it is coming from a RemotePlayer or a WorldPlayer.
This try to fix it.
A more elegant solution should be to generate an ancestor of the 2 classes, but is more intrusive

@atupone atupone merged commit ab95217 into BZFlag-Dev:2.4 Jun 5, 2026
3 checks passed
@atupone atupone deleted the invalidDownCast branch June 5, 2026 13:30
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.

1 participant