From e1b495fd9fc1598bcea420e6268f168faa10fd65 Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Tue, 3 Jan 2023 20:46:33 -0500 Subject: [PATCH] Fix redefinitions of coordinates --- source/gl_hud.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/source/gl_hud.c b/source/gl_hud.c index 554f7e0..dec89c2 100644 --- a/source/gl_hud.c +++ b/source/gl_hud.c @@ -933,15 +933,14 @@ int current_perk_order; void HUD_Perks (void) { - int row, column = 0; - int x, y = 0; + int x, y; #ifdef VITA - int x = 36; - int y = 4; + x = 36; + y = 4; #else - int x = 26; - int y = 364; + x = 26; + y = 364; #endif // VITA // Draw Even numbered Perks first -- these need to be @@ -963,11 +962,11 @@ void HUD_Perks (void) } #ifdef VITA - int x = 12; - int y = 4; + x = 12; + y = 4; #else - int x = 10; - int y = 364; + x = 10; + y = 364; #endif // VITA // Now the Odd numbered ones.