From f92919cdc4007159b0d652230cb2b20fe6f7e422 Mon Sep 17 00:00:00 2001 From: Daveo Date: Thu, 2 Aug 2001 22:04:30 +0000 Subject: [PATCH] --- source/gfx/actor.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source/gfx/actor.cpp b/source/gfx/actor.cpp index 757d9a75c..1beb2c0ff 100644 --- a/source/gfx/actor.cpp +++ b/source/gfx/actor.cpp @@ -713,7 +713,7 @@ u8 W=CurrentFrameGfx->W-1; u8 H=CurrentFrameGfx->H-1; u8 U=Node->U; u8 V=Node->V; - +int AspectX0,AspectX1; if (XFlip) { X-=CurrentFrame->XOfs; @@ -722,7 +722,8 @@ u8 V=Node->V; Ft4->u1=U;//-1;// Ft4->u2=U+W; Ft4->u3=U;//-1;// - + AspectX0=CurrentFrameGfx->AspectX1; + AspectX1=CurrentFrameGfx->AspectX0; } else { @@ -731,7 +732,8 @@ u8 V=Node->V; Ft4->u1=U+W; Ft4->u2=U; Ft4->u3=U+W; - + AspectX0=CurrentFrameGfx->AspectX0; + AspectX1=CurrentFrameGfx->AspectX1; } if (YFlip) @@ -756,10 +758,10 @@ u8 V=Node->V; #if INGAME_SCREENW==512 // Correct Aspect - Ft4->x0-=CurrentFrameGfx->AspectX0; - Ft4->x1+=CurrentFrameGfx->AspectX1; - Ft4->x2-=CurrentFrameGfx->AspectX0; - Ft4->x3+=CurrentFrameGfx->AspectX1; + Ft4->x0-=AspectX0; + Ft4->x1+=AspectX1; + Ft4->x2-=AspectX0; + Ft4->x3+=AspectX1; #endif }