diff options
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c index 4e0d8c326..48e1c9b00 100644 --- a/main_gui.c +++ b/main_gui.c @@ -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); } |