diff Viewport.cpp @ 1646:bac69d9157b6

Merge
author Nomad
date Tue, 17 Sep 2013 23:10:07 +0200
parents 7182930263b3
children 8251e59fd7c1 5f2583a4fa7d
line wrap: on
line diff
--- a/Viewport.cpp	Tue Sep 17 22:10:06 2013 +0200
+++ b/Viewport.cpp	Tue Sep 17 23:10:07 2013 +0200
@@ -54,7 +54,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_sub0(field_30, uScreenHeight);
+        this->uScreenCenterY = this->uScreen_BR_Y - fixpoint_mul(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);