summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-20 12:13:27 +0000
committerfrosch <frosch@openttd.org>2010-08-20 12:13:27 +0000
commitde973a4d60ee2faf996a61a210e72d05f93640e2 (patch)
tree5474ec29afafbe49c67881dfc6ffaec4f62821c2
parent3e3cd472226bdfe3dd73cb9707fcc2a1b5aee576 (diff)
downloadopenttd-de973a4d60ee2faf996a61a210e72d05f93640e2.tar.xz
(svn r20578) -Fix [FS#4051]: Draw bounding boxes using white instead of pure white, so they are recoloured to grey in coloured newspaper instead of blue.
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 1487efe06..75fca70d1 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -263,7 +263,7 @@ void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3)
* ....V.
*/
- static const byte colour = 255;
+ static const byte colour = 15;
GfxDrawLineUnscaled(x, y, x + dx1, y + dy1, colour);
GfxDrawLineUnscaled(x, y, x + dx2, y + dy2, colour);