diff src/gfxinit.cpp @ 10077:7737958e76ad draft

(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
author rubidium <rubidium@openttd.org>
date Thu, 04 Sep 2008 19:43:20 +0000
parents 42653fe231a2
children 26fd53f1fd8d
line wrap: on
line diff
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -195,6 +195,8 @@
 	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 @@
 		default:
 			NOT_REACHED();
 	}
+
+	UpdateNewGRFConfigPalette();
 }
 
 /**