diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 18:28:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 18:28:00 +0000 |
commit | dace4686c00d02e9640bc41720d845f097e7591b (patch) | |
tree | 4bd44853b9e7e9c29ae281bd657c1996f6290daa /src/misc.cpp | |
parent | 59a6e40ed215319b6fe1feace41b7f745e28364a (diff) | |
download | openttd-dace4686c00d02e9640bc41720d845f097e7591b.tar.xz |
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r-- | src/misc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 8a1c2975e..10fd76ecf 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -23,6 +23,7 @@ #include "date.h" #include "cargotype.h" #include "group.h" +#include "viewport.h" char _name_array[512][32]; @@ -105,7 +106,7 @@ void InitializeGame(int mode, uint size_x, uint size_y) AddTypeToEngines(); // make sure all engines have a type - SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, 0, WC_MAIN_WINDOW, 0); + SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, VHM_NONE, WC_MAIN_WINDOW, 0); _pause_game = 0; _fast_forward = 0; |