summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-27 19:26:53 +0000
committertron <tron@openttd.org>2005-07-27 19:26:53 +0000
commit6c52a8629d0b94d72e20809818cb0fd5c3097c93 (patch)
tree1ded00c3ddd8f96c8ae26d7e696ecec8db5815cb /win32.c
parentc43653b565d8a9c98558dc8b407577e80d341ff0 (diff)
downloadopenttd-6c52a8629d0b94d72e20809818cb0fd5c3097c93.tar.xz
(svn r2727) Fix last commit, don't ask
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32.c b/win32.c
index e4e7cc52e..18b268b15 100644
--- a/win32.c
+++ b/win32.c
@@ -44,9 +44,9 @@ static bool cursor_visible = true;
bool MyShowCursor(bool show)
{
- if (_wnd.cursor_visible == show) return show;
+ if (cursor_visible == show) return show;
- _wnd.cursor_visible = show;
+ cursor_visible = show;
ShowCursor(show);
return !show;