From cf35264664c8f3766f56be765f4fddc1c35a676c Mon Sep 17 00:00:00 2001 From: driAn Date: Mon, 17 Nov 2008 21:08:20 +0000 Subject: [PATCH] full line width when fullconsole is shown git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3590 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/console.cpp b/source/src/console.cpp index 4de04063..7b41aeb8 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -32,7 +32,7 @@ struct console : consolebuffer void render() { - int conwidth = VIRTW*2 - 2*CONSPAD - 40*FONTH/3; + int conwidth = VIRTW*2 - 2*CONSPAD - (fullconsole ? 2 : 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);