summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index e2916d00d..25a4da20e 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -557,5 +557,5 @@ void IndustryProductionCallback(Industry *ind, int reason)
SB(object.callback_param2, 24, 8, again);
}
- InvalidateWindow(WC_INDUSTRY_VIEW, ind->index);
+ SetWindowDirty(WC_INDUSTRY_VIEW, ind->index);
}