Fixed compile error

This commit is contained in:
jsalmon3 2004-06-27 11:48:58 +00:00
parent e112606268
commit 94df7e3043

View file

@ -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);