summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_core.cpp2
-rw-r--r--src/game/game_core.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp
index 3a337ab0b..16bf96dc6 100644
--- a/src/ai/ai_core.cpp
+++ b/src/ai/ai_core.cpp
@@ -333,7 +333,7 @@
InvalidateWindowData(WC_AI_LIST, 0, 1);
SetWindowClassesDirty(WC_AI_DEBUG);
- SetWindowDirty(WC_AI_SETTINGS, 0);
+ InvalidateWindowClassesData(WC_AI_SETTINGS);
}
#if defined(ENABLE_NETWORK)
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index 2816a6223..27dd63b54 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -178,7 +178,7 @@
InvalidateWindowData(WC_AI_LIST, 0, 1);
SetWindowClassesDirty(WC_AI_DEBUG);
- SetWindowDirty(WC_AI_SETTINGS, 0);
+ InvalidateWindowClassesData(WC_AI_SETTINGS);
}