summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_simple.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-04-29 20:47:36 +0000
committerfrosch <frosch@openttd.org>2011-04-29 20:47:36 +0000
commit1ffd720f81d917126e1f15ef2b8edac21484adcf (patch)
tree17768d42ca1045b8f265214f147cdde304fdeaa9 /src/blitter/32bpp_simple.cpp
parent461b75725cb475b34142ac1e73ba9b6f40568445 (diff)
downloadopenttd-1ffd720f81d917126e1f15ef2b8edac21484adcf.tar.xz
(svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings.
Diffstat (limited to 'src/blitter/32bpp_simple.cpp')
-rw-r--r--src/blitter/32bpp_simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_simple.cpp b/src/blitter/32bpp_simple.cpp
index 83c43fb27..57d0ca078 100644
--- a/src/blitter/32bpp_simple.cpp
+++ b/src/blitter/32bpp_simple.cpp
@@ -77,7 +77,7 @@ void Blitter_32bppSimple::DrawColourMappingRect(void *dst, int width, int height
} while (--height);
return;
}
- if (pal == PALETTE_TO_STRUCT_GREY) {
+ if (pal == PALETTE_NEWSPAPER) {
do {
for (int i = 0; i != width; i++) {
*udst = MakeGrey(*udst);