Skip to content

Commit

Permalink
fixed arrows to be closer to the player
Browse files Browse the repository at this point in the history
  • Loading branch information
naddoska committed Oct 7, 2023
1 parent 51d2f8f commit 52cd063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdogs/hud/player_hud.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ static void DrawPlayerObjectiveCompass(
{
return;
}
Rect2i r = Rect2iNew(svec2i_zero(), hud->device->cachedConfig.Res);
Rect2i r = Rect2iNew(svec2i(hud->device->cachedConfig.Res.x / 4, hud->device->cachedConfig.Res.y / 4), svec2i(hud->device->cachedConfig.Res.x / 2, hud->device->cachedConfig.Res.y / 2));
if (hudPlayerIndex & 1)
{
r.Pos.x = r.Size.x;
Expand Down

0 comments on commit 52cd063

Please sign in to comment.