diff options
author | belugas <belugas@openttd.org> | 2008-08-01 03:43:53 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-01 03:43:53 +0000 |
commit | 69671d3aef250c7f720c2a6568e3f38c5821a9b2 (patch) | |
tree | a2a5592c034cc0305b5d9a309f37f99ee8849db9 /src/cheat_gui.cpp | |
parent | 325ef293fd15355dcec34d5e37ed379cec3b34e8 (diff) | |
download | openttd-69671d3aef250c7f720c2a6568e3f38c5821a9b2.tar.xz |
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r-- | src/cheat_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp index f42eadc54..c5d84a141 100644 --- a/src/cheat_gui.cpp +++ b/src/cheat_gui.cpp @@ -148,7 +148,7 @@ struct CheatWindow : Window { case SLE_BOOL: { bool on = (*(bool*)ce->variable); - DrawFrameRect(x + 20, y + 1, x + 30 + 9, y + 9, on ? 6 : 4, on ? FR_LOWERED : FR_NONE); + DrawFrameRect(x + 20, y + 1, x + 30 + 9, y + 9, on ? COLOUR_GREEN : COLOUR_RED, on ? FR_LOWERED : FR_NONE); SetDParam(0, on ? STR_CONFIG_PATCHES_ON : STR_CONFIG_PATCHES_OFF); } break; |