mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 11:29:10 +00:00
(svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened
This commit is contained in:
@@ -333,7 +333,7 @@
|
|||||||
|
|
||||||
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
||||||
SetWindowClassesDirty(WC_AI_DEBUG);
|
SetWindowClassesDirty(WC_AI_DEBUG);
|
||||||
SetWindowDirty(WC_AI_SETTINGS, 0);
|
InvalidateWindowClassesData(WC_AI_SETTINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ENABLE_NETWORK)
|
#if defined(ENABLE_NETWORK)
|
||||||
|
@@ -178,7 +178,7 @@
|
|||||||
|
|
||||||
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
||||||
SetWindowClassesDirty(WC_AI_DEBUG);
|
SetWindowClassesDirty(WC_AI_DEBUG);
|
||||||
SetWindowDirty(WC_AI_SETTINGS, 0);
|
InvalidateWindowClassesData(WC_AI_SETTINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user