diff options
author | rubidium <rubidium@openttd.org> | 2007-02-01 15:49:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-01 15:49:12 +0000 |
commit | 2a9851a3ad3ffc9bdf90afb10021587e9a9ef190 (patch) | |
tree | f20591430627ec5e32fc838089b470939051cee5 /src/viewport.cpp | |
parent | 7735c2197f21d9e32eb54dfe344202d174e1aa6a (diff) | |
download | openttd-2a9851a3ad3ffc9bdf90afb10021587e9a9ef190.tar.xz |
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index 5be898e4c..c3420df5e 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2478,5 +2478,5 @@ void SetObjectToPlace(CursorID icon, SpriteID pal, byte mode, WindowClass window void ResetObjectToPlace(void) { - SetObjectToPlace(SPR_CURSOR_MOUSE, PAL_NONE, VHM_NONE, 0, 0); + SetObjectToPlace(SPR_CURSOR_MOUSE, PAL_NONE, VHM_NONE, WC_MAIN_WINDOW, 0); } |