summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-04 19:43:20 +0000
committerrubidium <rubidium@openttd.org>2008-09-04 19:43:20 +0000
commitd877247d40d974053c74a960c49f8c0cfc212f6b (patch)
tree0634a70eeab8c24fdfa04cfb376fb20c55a017fe /src/gfxinit.cpp
parent113fbb8cb3b2aee0e1c3e1f6ec8fbbd900013732 (diff)
downloadopenttd-d877247d40d974053c74a960c49f8c0cfc212f6b.tar.xz
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 66bd2709f..d63aa20b9 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -195,6 +195,8 @@ static bool DetermineGraphicsPack()
return _used_graphics_set != NULL;
}
+extern void UpdateNewGRFConfigPalette();
+
/**
* Determine the palette that has to be used.
* - forced palette via command line -> leave it that way
@@ -219,6 +221,8 @@ static void DeterminePalette()
default:
NOT_REACHED();
}
+
+ UpdateNewGRFConfigPalette();
}
/**