From 144035bf5cb747fd5ffd2c41ae713f66ca79fe62 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 14 Jun 2007 14:31:48 +0000 Subject: (svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID --- src/spritecache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spritecache.h') diff --git a/src/spritecache.h b/src/spritecache.h index 1b351bb0a..d264ae210 100644 --- a/src/spritecache.h +++ b/src/spritecache.h @@ -31,7 +31,7 @@ static inline const byte *GetNonSprite(SpriteID sprite) void GfxInitSpriteMem(); void IncreaseSpriteLRU(); -bool LoadNextSprite(int load_index, byte file_index); +bool LoadNextSprite(int load_index, byte file_index, uint file_sprite_id); void DupSprite(SpriteID old_spr, SpriteID new_spr); void SkipSprites(uint count); -- cgit v1.2.3-54-g00ecf