This commit is contained in:
parent
4151f1ac85
commit
09d4c78350
1 changed files with 5 additions and 0 deletions
|
@ -285,6 +285,11 @@ void SpriteBank::prepareFT4Scaled(POLY_FT4 *_ft4,sFrameHdr *_fh,int _x,int _y,bo
|
||||||
W>>=8;
|
W>>=8;
|
||||||
H>>=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);
|
setShadeTexPolyFT4(_ft4);
|
||||||
if (_xFlip)
|
if (_xFlip)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue