# HG changeset patch # User zipi # Date 1383407444 0 # Node ID a688e8646d72137d2d609bbee10ffb7166d3866f # Parent 3ff1a608324a39aa59fcc13c209b6cf08a126eae Indoor viewport top fixed diff -r 3ff1a608324a -r a688e8646d72 Viewport.cpp --- 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); }