summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-22 20:18:59 +0000
committeryexo <yexo@openttd.org>2010-02-22 20:18:59 +0000
commit3b9da089e540503101efbf0115e8369c33f47fd6 (patch)
tree01b893044425aef68641497f2d9a1f804375d635 /src/gfxinit.cpp
parent181035181380eb460ad9a818417754181d65b2f7 (diff)
downloadopenttd-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.cpp2
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;