From c2dbf5781614d4fe71eba6818a2cb845ddaa01b0 Mon Sep 17 00:00:00 2001 From: aurhat Date: Sat, 28 Jun 2014 12:30:25 +0200 Subject: [PATCH] Do "SCROLL to change player" visible in any standard aspect ratio Above text was cut for aspect ratio 5:4 (quite much) and 4:3 (a little) for previous value "left = (VIRTW*3/2)*6/8" --- source/src/renderhud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 61aeefd2..a5f777d5 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -1032,7 +1032,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat { glLoadIdentity(); glOrtho(0, VIRTW*3/2, VIRTH*3/2, 0, -1, 1); - const int left = (VIRTW*3/2)*6/8, top = (VIRTH*3/2)*3/4; + const int left = (VIRTW*3/2)*8/11, top = (VIRTH*3/2)*3/4; draw_textf("SPACE to change view", left, top); draw_textf("SCROLL to change player", left, top+80); }