You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a commandmenu.txt file is provided, and contains an entry for a custom button that isn't handled by the game, it will still try to access the button, resulting in a null pointer exception.
Adding a check there prevents a crash, but will likely result in parser failure later on (using SDK command menu code with TFC's command menu causes parser failure).
The text was updated successfully, but these errors were encountered:
SamVanheer
added a commit
to twhl-community/halflife-updated
that referenced
this issue
Sep 19, 2022
If a commandmenu.txt file is provided, and contains an entry for a custom button that isn't handled by the game, it will still try to access the button, resulting in a null pointer exception.
If this call returns null:
halflife/cl_dll/vgui_TeamFortressViewport.cpp
Line 836 in 5d76170
then this call:
halflife/cl_dll/vgui_TeamFortressViewport.cpp
Line 898 in 5d76170
Will end up accessing a null pointer.
Adding a check there prevents a crash, but will likely result in parser failure later on (using SDK command menu code with TFC's command menu causes parser failure).
The text was updated successfully, but these errors were encountered: