diff options
author | athrxx | 2011-06-16 18:51:47 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:11 +0100 |
commit | c8665d06bc59b695cb6c444b1e3c24104b69dec4 (patch) | |
tree | ec3bc2c47bb27e2b9d8ed9eaf3ce993513f5fe67 /engines/kyra/screen_eob.cpp | |
parent | adbf14c3c480890dfb155b896d1805e102311aa9 (diff) | |
download | scummvm-rg350-c8665d06bc59b695cb6c444b1e3c24104b69dec4.tar.gz scummvm-rg350-c8665d06bc59b695cb6c444b1e3c24104b69dec4.tar.bz2 scummvm-rg350-c8665d06bc59b695cb6c444b1e3c24104b69dec4.zip |
KYRA: (EOB) - fix some warnings and add some menu code
Diffstat (limited to 'engines/kyra/screen_eob.cpp')
-rw-r--r-- | engines/kyra/screen_eob.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/screen_eob.cpp b/engines/kyra/screen_eob.cpp index b93ab3eafb..f6b0eafcf4 100644 --- a/engines/kyra/screen_eob.cpp +++ b/engines/kyra/screen_eob.cpp @@ -508,7 +508,7 @@ void Screen_Eob::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, break; if (!*(src-1) || i < marginLeft) - marginLeft = ++marginLeft - *src++; + marginLeft = marginLeft + 1 - *src++; else marginLeft = 0; @@ -723,7 +723,6 @@ void Screen_Eob::drawExplosion(int scale, int radius, int numSteps, int stepSize int16 gx2 = _gfxX; int16 gy2 = _gfxY; - uint8 *ptr1 = _dsTempPage; int16 *ptr2 = (int16*)_dsTempPage; int16 *ptr3 = (int16*)&_dsTempPage[300]; int16 *ptr4 = (int16*)&_dsTempPage[600]; |