diff options
author | Filippos Karapetis | 2011-11-04 00:40:50 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-04 00:42:41 +0200 |
commit | b849f5485f59cb9896ad66c7f8b1b44678011554 (patch) | |
tree | 1e5efd58d293ba73067c5c4d937258c1caa64b2b | |
parent | e4d1a5da3d4e69c59a769a728d29ec67a2c4f3d7 (diff) | |
download | scummvm-rg350-b849f5485f59cb9896ad66c7f8b1b44678011554.tar.gz scummvm-rg350-b849f5485f59cb9896ad66c7f8b1b44678011554.tar.bz2 scummvm-rg350-b849f5485f59cb9896ad66c7f8b1b44678011554.zip |
CRUISE: Removed duplicate variable assignment
-rw-r--r-- | engines/cruise/mainDraw.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cruise/mainDraw.cpp b/engines/cruise/mainDraw.cpp index 14b6daf4bb..9a5df69cae 100644 --- a/engines/cruise/mainDraw.cpp +++ b/engines/cruise/mainDraw.cpp @@ -621,11 +621,9 @@ void buildSegment() { unsigned char *drawPolyMode1(unsigned char *dataPointer, int linesToDraw) { int index; - int16 *pBufferDest; + int16 *pBufferDest = polyBuffer4 + nbseg * 2; - pBufferDest = polyBuffer4 + nbseg * 2; nbseg = linesToDraw; - A2ptr = polyBuffer4; index = *(dataPointer++); polyXMin = polyXMax = pBufferDest[-2] = pBufferDest[-2 + linesToDraw * 2] = polyBuffer2[index * 2]; |