Mercurial > mm7
changeset 1987:a688e8646d72
Indoor viewport top fixed
author | zipi |
---|---|
date | Sat, 02 Nov 2013 15:50:44 +0000 |
parents | 3ff1a608324a |
children | 7e2dd49832b5 |
files | Viewport.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Viewport.cpp Sat Nov 02 12:33:57 2013 +0000 +++ b/Viewport.cpp Sat Nov 02 15:50:44 2013 +0000 @@ -57,7 +57,7 @@ if ( pRenderer->pRenderD3D == 0 ) this->uScreenCenterY = this->uScreen_BR_Y - fixpoint_mul(field_30, uScreenHeight); else - this->uScreenCenterY = uScreenHeight/2; + this->uScreenCenterY = (br_y + tl_y)/2; SetViewport(this->uScreen_TL_X, this->uScreen_TL_Y, this->uScreen_BR_X, this->uScreen_BR_Y); }