summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_anim.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_anim.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_anim.cpp')
-rw-r--r--src/blitter/32bpp_anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp
index 29c0a95ed..a7f9a2e75 100644
--- a/src/blitter/32bpp_anim.cpp
+++ b/src/blitter/32bpp_anim.cpp
@@ -235,7 +235,7 @@ void Blitter_32bppAnim::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);