summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openttd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openttd.c b/openttd.c
index b199b8b48..bdc35bed8 100644
--- a/openttd.c
+++ b/openttd.c
@@ -436,6 +436,9 @@ int ttd_main(int argc, char *argv[])
// This must be done early, since functions use the InvalidateWindow* calls
InitWindowSystem();
+ /* Initialize game palette */
+ GfxInitPalettes();
+
DEBUG(driver, 1) ("Loading drivers...");
LoadDriver(SOUND_DRIVER, _ini_sounddriver);
LoadDriver(MUSIC_DRIVER, _ini_musicdriver);