mirror of https://github.com/OpenTTD/OpenTTD
(svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened
parent
caa5762636
commit
37b136576d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue