(svn r1861) Constify Get(Non)Sprite()

This commit is contained in:
tron
2005-02-11 17:12:11 +00:00
parent 3a93a250b7
commit 9c99c7d11a
4 changed files with 43 additions and 28 deletions

View File

@@ -2373,12 +2373,12 @@ extern void ShowJoinStatusWindowAfterJoin(void);
void SetupColorsAndInitialWindow(void)
{
int i;
byte *b;
Window *w;
int width,height;
for(i=0; i!=16; i++) {
b = GetNonSprite(0x307 + i);
const byte* b = GetNonSprite(0x307 + i);
assert(b);
_color_list[i] = *(ColorList*)(b + 0xC6);
}