(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)

This commit is contained in:
tron
2005-02-10 12:14:38 +00:00
parent 2a151d9354
commit 94c75f33bb
7 changed files with 33 additions and 27 deletions

View File

@@ -2378,7 +2378,7 @@ void SetupColorsAndInitialWindow(void)
int width,height;
for(i=0; i!=16; i++) {
b = GetSpritePtr(0x307 + i);
b = GetNonSprite(0x307 + i);
assert(b);
_color_list[i] = *(ColorList*)(b + 0xC6);
}