diff options
author | Filippos Karapetis | 2016-09-27 02:38:19 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-03 00:34:50 +0300 |
commit | 832b97c1d5f3bf8f7c1ae451beea1e6ac1b33834 (patch) | |
tree | 178a9fde0024b801d5aa44c6fda5aac5d201d217 | |
parent | 88f3fc07603d132b12d366509e547e4367787700 (diff) | |
download | scummvm-rg350-832b97c1d5f3bf8f7c1ae451beea1e6ac1b33834.tar.gz scummvm-rg350-832b97c1d5f3bf8f7c1ae451beea1e6ac1b33834.tar.bz2 scummvm-rg350-832b97c1d5f3bf8f7c1ae451beea1e6ac1b33834.zip |
CHEWY: Rename some variables
-rw-r--r-- | engines/chewy/graphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/chewy/graphics.cpp b/engines/chewy/graphics.cpp index db3b094c75..6f72d04a21 100644 --- a/engines/chewy/graphics.cpp +++ b/engines/chewy/graphics.cpp @@ -93,10 +93,10 @@ void Graphics::loadFont(Common::String filename) { void Graphics::drawTransparent(uint16 x, uint16 y, byte *data, uint16 width, uint16 height, byte transparentColor) { ::Graphics::Surface *screen = g_system->lockScreen(); - for (uint textX = 0; textX < width; textX++) { - for (uint textY = 0; textY < height; textY++) { - byte *src = data + (textY * width) + textX; - byte *dst = (byte *)screen->getBasePtr(textX + x, textY + y); + for (uint curX = 0; curX < width; curX++) { + for (uint curY = 0; curY < height; curY++) { + byte *src = data + (curY * width) + curX; + byte *dst = (byte *)screen->getBasePtr(curX + x, curY + y); if (*src != transparentColor) *dst = *src; } |