diff options
author | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
commit | f7108760378c98077b1c664939d0e2c32a21624f (patch) | |
tree | a5bdbc9159ef2a9e4438fbff08ec11d3adba7744 /src/saveload.cpp | |
parent | 2c96ce4506163ad1528db6a4340964af99fc1de2 (diff) | |
download | openttd-f7108760378c98077b1c664939d0e2c32a21624f.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.cpp | 4 |
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; } |