From c4440813ad892e645361b438032f92d4f91f452b Mon Sep 17 00:00:00 2001 From: driAn Date: Mon, 17 Nov 2008 21:04:30 +0000 Subject: [PATCH] fixed radar text overlap (BUG 2301473) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3589 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/console.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/src/console.cpp b/source/src/console.cpp index 54b99f9a..4de04063 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -32,8 +32,9 @@ struct console : consolebuffer void render() { - int conwidth = VIRTW*2 - 2*CONSPAD - 2*FONTH/3, h = VIRTH*2 - 2*CONSPAD - 2*FONTH/3, - conheight = min(fullconsole ? (h*(fullconsole==1 ? altconsize : fullconsize))/100 : FONTH*consize, h); + int conwidth = VIRTW*2 - 2*CONSPAD - 40*FONTH/3; + int h = VIRTH*2 - 2*CONSPAD - 2*FONTH/3; + int conheight = min(fullconsole ? (h*(fullconsole==1 ? altconsize : fullconsize))/100 : FONTH*consize, h); if(fullconsole) blendbox(CONSPAD, CONSPAD, conwidth+CONSPAD+2*FONTH/3, conheight+CONSPAD+2*FONTH/3, true);