Mercurial > mm7
diff Viewport.cpp @ 875:b7246c149957
Слияние
author | Ritor1 |
---|---|
date | Mon, 01 Apr 2013 17:37:42 +0600 |
parents | 710cf848ad24 |
children | c0d0656aa662 |
line wrap: on
line diff
--- a/Viewport.cpp Mon Apr 01 17:37:32 2013 +0600 +++ b/Viewport.cpp Mon Apr 01 17:37:42 2013 +0600 @@ -37,7 +37,7 @@ this->uScreenHeight = br_y - tl_y + 1; this->uScreenCenterX = (signed int)(br_x + tl_x) /2; if ( pRenderer->pRenderD3D == 0 ) - this->uScreenCenterY = this->uScreen_BR_Y - fixpoint_mul(field_30, uScreenHeight); + this->uScreenCenterY = this->uScreen_BR_Y - fixpoint_sub0(field_30, uScreenHeight); else this->uScreenCenterY = uScreenHeight/2; SetViewport(this->uScreen_TL_X, this->uScreen_TL_Y, this->uScreen_BR_X, this->uScreen_BR_Y);