diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
commit | c0a8d09ca72873bbbef14dd317cbd29319e54640 (patch) | |
tree | 211b57e3a81eed5791f5b6b9709252af6f7d8503 /src/blitter/8bpp_debug.cpp | |
parent | 90e2465d7d2c770707feeaebfebbe56bd76383f1 (diff) | |
download | openttd-c0a8d09ca72873bbbef14dd317cbd29319e54640.tar.xz |
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
Diffstat (limited to 'src/blitter/8bpp_debug.cpp')
-rw-r--r-- | src/blitter/8bpp_debug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blitter/8bpp_debug.cpp b/src/blitter/8bpp_debug.cpp index 3ce0600c3..e8d4c739f 100644 --- a/src/blitter/8bpp_debug.cpp +++ b/src/blitter/8bpp_debug.cpp @@ -44,10 +44,10 @@ Sprite *Blitter_8bppDebug::Encode(SpriteLoader::Sprite *sprite, Blitter::Allocat dest_sprite->x_offs = sprite->x_offs; dest_sprite->y_offs = sprite->y_offs; - /* Write a random color as sprite; this makes debugging really easy */ - uint color = InteractiveRandom() % 150 + 2; + /* Write a random colour as sprite; this makes debugging really easy */ + uint colour = InteractiveRandom() % 150 + 2; for (int i = 0; i < sprite->height * sprite->width; i++) { - dest_sprite->data[i] = (sprite->data[i].m == 0) ? 0 : color; + dest_sprite->data[i] = (sprite->data[i].m == 0) ? 0 : colour; } return dest_sprite; |