summaryrefslogtreecommitdiff
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
commit8afa32d470ee5d38d858ec0ef1bddd8544a89d84 (patch)
tree1ded00c3ddd8f96c8ae26d7e696ecec8db5815cb
parent2435589804a9ca39eab6691286ea737d3d000612 (diff)
downloadopenttd-8afa32d470ee5d38d858ec0ef1bddd8544a89d84.tar.xz
(svn r2727) Fix last commit, don't ask
-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;