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

Patch the viewmodel sometimes disappearing #210

Open
ThisAMJ opened this issue Dec 6, 2023 · 1 comment
Open

Patch the viewmodel sometimes disappearing #210

ThisAMJ opened this issue Dec 6, 2023 · 1 comment
Labels
game bugfix Request to fix a bug in Portal 2 itself

Comments

@ThisAMJ
Copy link
Member

ThisAMJ commented Dec 6, 2023

Notably when doing toast skip or sometimes when starting Underground (Discord)

@ThisAMJ ThisAMJ added the game bugfix Request to fix a bug in Portal 2 itself label Dec 6, 2023
@ThisAMJ
Copy link
Member Author

ThisAMJ commented Mar 26, 2024

so m_hViewModel gets set to -1 (FFFFFFFF) instead of 0 or an entity handle to the viewmodel. As yet unclear why, I'm working on hooking the CreateViewModel and DestroyViewModels methods on the player. (CPortal_Player? or does it use the base class?)
Maybe sometime this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game bugfix Request to fix a bug in Portal 2 itself
Projects
None yet
Development

No branches or pull requests

1 participant