conheight proved to be eaiser than expected (d'oh, don't know why I couldn't see the obvious)

This commit is contained in:
Bill Currie 2009-12-24 05:46:16 +00:00 committed by Jeff Teunissen
parent a5f0fbc821
commit bf04589510

View file

@ -153,7 +153,7 @@ VID_GetWindowSize (int def_w, int def_h)
Cvar_SetFlags (con_width, con_width->flags | CVAR_ROM);
vid.conwidth = con_width->int_val;
conheight = (vid.conwidth * 3) / 4;
conheight = (vid.conwidth * vid_aspect->vec[1]) / vid_aspect->vec[0];
con_height = Cvar_Get ("con_height", va ("%d", conheight), CVAR_NONE, NULL,
"console effective height (GL only)");
if ((pnum = COM_CheckParm ("-conheight"))) {