Skip to content

Commit

Permalink
Merge dezo2's change in HUD scaling for d3xp grabber crosshair
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGibson committed Jul 25, 2024
1 parent a8a1e5c commit cbfb298
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions neo/d3xp/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3231,9 +3231,14 @@ void idPlayer::DrawHUD( idUserInterface *_hud ) {
if ( weapon.GetEntity()->GetGrabberState() == 1 || weapon.GetEntity()->GetGrabberState() == 2 ) {
cursor->SetStateString( "grabbercursor", "1" );
cursor->SetStateString( "combatcursor", "0" );
cursor->SetStateBool("scaleto43", false); // dezo2, unscaled
cursor->StateChanged(gameLocal.realClientTime); // dezo2, set state
} else {
cursor->SetStateString( "grabbercursor", "0" );
cursor->SetStateString( "combatcursor", "1" );
cursor->SetStateBool("scaleto43", true); // dezo2, scaled
cursor->StateChanged(gameLocal.realClientTime); // dezo2, set state

}
#endif

Expand Down

0 comments on commit cbfb298

Please sign in to comment.