Fixed compile error
This commit is contained in:
parent
e112606268
commit
94df7e3043
1 changed files with 2 additions and 0 deletions
|
@ -142,7 +142,9 @@ static void AddIcon(const char* ident, const char* tileset,
|
|||
icon->Height = height;
|
||||
|
||||
icon->Sprite = NULL;
|
||||
#ifdef USE_OPENGL
|
||||
icon->PlayerColorSprite = NULL;
|
||||
#endif
|
||||
|
||||
*(Icon**)hash_add(IconHash, str) = icon;
|
||||
free(str);
|
||||
|
|
Loading…
Reference in a new issue