mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
This commit is contained in:
@@ -111,7 +111,7 @@ public:
|
||||
case CONTENT_TYPE_NEWGRF:
|
||||
ScanNewGRFFiles();
|
||||
/* Yes... these are the NewGRF windows */
|
||||
InvalidateWindowClasses(WC_SAVELOAD);
|
||||
InvalidateWindowClassesData(WC_SAVELOAD);
|
||||
InvalidateWindowData(WC_GAME_OPTIONS, 0, 1);
|
||||
InvalidateWindowData(WC_NETWORK_WINDOW, 1, 2);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user