From 09d4c78350fc0d16e25d6a789efdc0fb43cbf80a Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 20 Feb 2001 21:55:06 +0000 Subject: [PATCH] --- source/gfx/sprbank.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/gfx/sprbank.cpp b/source/gfx/sprbank.cpp index 817c8feef..c7b058777 100644 --- a/source/gfx/sprbank.cpp +++ b/source/gfx/sprbank.cpp @@ -285,6 +285,11 @@ void SpriteBank::prepareFT4Scaled(POLY_FT4 *_ft4,sFrameHdr *_fh,int _x,int _y,bo W>>=8; H>>=8; + // Why not center the thing in here!? (pkg) + _x-=(((_fh->W*_z)>>8)-_fh->W)/2; + _y-=(((_fh->H*_z)>>8)-_fh->H)/2; + + setShadeTexPolyFT4(_ft4); if (_xFlip) {