@@ -638,11 +638,13 @@ HUD_ELEMENT_MODE2(position, "0", 0, 2,
638638 ctx->DrawElement (" pos: -" );
639639 }
640640}
641- HUD_ELEMENT_MODE2 (angles, " 0" , 0 , 2 ,
641+ HUD_ELEMENT_MODE2 (angles, " 0" , 0 , 4 ,
642642 " Draws absolute view angles of the client.\n "
643643 " 0 = Default,\n "
644644 " 1 = XY,\n "
645- " 2 = XYZ.\n " ,
645+ " 2 = XYZ,\n "
646+ " 3 = X,\n "
647+ " 4 = Y.\n " ,
646648 HudType_InGame | HudType_Paused | HudType_LoadingScreen) {
647649 // When we're orange (and not splitscreen), for some fucking reason,
648650 // the *engine* thinks we're slot 0, but everything else thinks
@@ -651,8 +653,12 @@ HUD_ELEMENT_MODE2(angles, "0", 0, 2,
651653 int p = getPrecision ();
652654 if (mode == 1 ) {
653655 ctx->DrawElement (" ang: %.*f %.*f" , p, ang.x , p, ang.y );
654- } else {
656+ } else if (mode == 2 ) {
655657 ctx->DrawElement (" ang: %.*f %.*f %.*f" , p, ang.x , p, ang.y , p, ang.z );
658+ } else if (mode == 3 ) {
659+ ctx->DrawElement (" ang: %.*f" , p, ang.x );
660+ } else {
661+ ctx->DrawElement (" ang: %.*f" , p, ang.y );
656662 }
657663}
658664HUD_ELEMENT_MODE2 (velocity, " 0" , 0 , 5 ,
0 commit comments