summaryrefslogtreecommitdiff
path: root/src/blitter
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
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')
-rw-r--r--src/blitter/32bpp_anim.cpp2
-rw-r--r--src/blitter/32bpp_simple.cpp2
2 files changed, 2 insertions, 2 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);
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);