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
This commit is contained in:
driAn
2008-11-17 21:08:20 +00:00
parent c4440813ad
commit cf35264664
+1 -1
View File
@@ -32,7 +32,7 @@ struct console : consolebuffer<cline>
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);