diff Indoor.cpp @ 692:066e2b29b30f

viewport.cpp added
author Gloval
date Sat, 16 Mar 2013 21:57:32 +0400
parents 0f25d026acfa
children 436ae1842e92 a5ee769b02c6
line wrap: on
line diff
--- a/Indoor.cpp	Sat Mar 16 14:33:23 2013 +0200
+++ b/Indoor.cpp	Sat Mar 16 21:57:32 2013 +0400
@@ -380,10 +380,10 @@
   _this.sRotationX = pParty->sRotationX;
   _this.sRotationY = pParty->sRotationY;
   _this.pRenderTarget = pRenderer->pTargetSurface;
-  _this.uViewportX = pViewport->uScreenX;
-  _this.uViewportY = pViewport->uScreenY;
-  _this.uViewportZ = pViewport->uScreenZ;
-  _this.uViewportW = pViewport->uScreenW;
+  _this.uViewportX = pViewport->uScreen_TL_X;
+  _this.uViewportY = pViewport->uScreen_TL_Y;
+  _this.uViewportZ = pViewport->uScreen_BR_X;
+  _this.uViewportW = pViewport->uScreen_BR_Y;
   _this.field_3C = pViewport->field_30;
 
   _this.uTargetWidth = 640;