diff options
author | yexo <yexo@openttd.org> | 2010-02-22 20:18:59 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 20:18:59 +0000 |
commit | 3b9da089e540503101efbf0115e8369c33f47fd6 (patch) | |
tree | 01b893044425aef68641497f2d9a1f804375d635 /src/gfxinit.cpp | |
parent | 181035181380eb460ad9a818417754181d65b2f7 (diff) | |
download | openttd-3b9da089e540503101efbf0115e8369c33f47fd6.tar.xz |
(svn r19212) -Fix: base graphics set with an empty filename in the obg file caused segfaults
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index 188b6c87b..f2678ae09 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -205,7 +205,7 @@ void GfxLoadSprites() bool GraphicsSet::FillSetDetails(IniFile *ini, const char *path) { - bool ret = this->BaseSet<GraphicsSet, MAX_GFT, DATA_DIR>::FillSetDetails(ini, path); + bool ret = this->BaseSet<GraphicsSet, MAX_GFT, DATA_DIR>::FillSetDetails(ini, path, false); if (ret) { IniGroup *metadata = ini->GetGroup("metadata"); IniItem *item; |