(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).

-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
This commit is contained in:
rubidium
2008-08-30 09:46:52 +00:00
parent e06c21426e
commit d3d34d2aac
3 changed files with 32 additions and 35 deletions

View File

@@ -56,5 +56,6 @@ struct DrawBuildingsTileStruct {
/** Iterate through all DrawTileSeqStructs in DrawTileSprites. */
#define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
void SkipSpriteData(byte type, uint16 num);
#endif /* SPRITE_H */