summaryrefslogtreecommitdiff
path: root/src/saveload.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-10 12:30:27 +0000
committerrubidium <rubidium@openttd.org>2008-05-10 12:30:27 +0000
commit935434333badb8376f9dde535ddc50c18e9af3aa (patch)
treea5bdbc9159ef2a9e4438fbff08ec11d3adba7744 /src/saveload.cpp
parentf23026cce8fa49974e3dd06e00dd073cb45f906b (diff)
downloadopenttd-935434333badb8376f9dde535ddc50c18e9af3aa.tar.xz
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r--src/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp
index abca0db1d..3178efdcf 100644
--- a/src/saveload.cpp
+++ b/src/saveload.cpp
@@ -1493,7 +1493,7 @@ static void SaveFileStart()
_fast_forward = 0;
if (_cursor.sprite == SPR_CURSOR_MOUSE) SetMouseCursor(SPR_CURSOR_ZZZ, PAL_NONE);
- SendWindowMessage(WC_STATUS_BAR, 0, true, 0, 0);
+ InvalidateWindowData(WC_STATUS_BAR, 0, true);
_ts.saveinprogress = true;
}
@@ -1504,7 +1504,7 @@ static void SaveFileDone()
_fast_forward = _ts.ff_state;
if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
- SendWindowMessage(WC_STATUS_BAR, 0, false, 0, 0);
+ InvalidateWindowData(WC_STATUS_BAR, 0, false);
_ts.saveinprogress = false;
}