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
The restored value is retained this way, and the flag that gets added ensures the train speed value is correctly sent to the client, which then displays the train HUD correctly.
The text was updated successfully, but these errors were encountered:
The train HUD disappears after a level change or save game load.
This happens because when either happens the game is saved and loaded. While loading
CBasePlayer::Precache
is called, which resets the train variable:halflife/dlls/player.cpp
Line 2976 in c7240b9
This should be:
The restored value is retained this way, and the flag that gets added ensures the train speed value is correctly sent to the client, which then displays the train HUD correctly.
The text was updated successfully, but these errors were encountered: