Added note about possible issue in draw_sprite.

This commit is contained in:
Duncan 2014-06-18 16:35:26 +01:00
parent 759268c1f5
commit b6274a72a0
1 changed files with 2 additions and 1 deletions

View File

@ -922,7 +922,8 @@ void gfx_draw_sprite(rct_drawpixelinfo *dpi, int image_id, int x, int y)
eax >>= 19;
//push edx/y
eax &= 0x1F;
ebp = RCT2_GLOBAL(ebp * 4 + 0x97FCBC, uint32);
ebp = RCT2_GLOBAL(ebp * 4 + 0x97FCBC, uint32); //ebp has not been set to anything before this! ??
//Possibly another variable input?!
eax = RCT2_GLOBAL(eax * 4 + 0x97FCBC, uint32);
ebp <<= 0x4;
eax <<= 0x4;