diff options
Diffstat (limited to 'engines/sludge/graphics.h')
-rw-r--r-- | engines/sludge/graphics.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sludge/graphics.h b/engines/sludge/graphics.h index 024c8cacba..df8fa69c25 100644 --- a/engines/sludge/graphics.h +++ b/engines/sludge/graphics.h @@ -110,7 +110,7 @@ public: // Screen int getCenterX(int width) { return (_winWidth - width) >> 1; } - int checkSizeValide(int width, int height) { return ((width >= 0) && (height >= 0) && (width < (int)_winWidth) && (height > (int)_winHeight)); } + int checkSizeValide(int width, int height) { return ((width >= 0) && (height >= 0) && (width < (int)_winWidth) && (height < (int)_winHeight)); } // Freeze bool freeze(); @@ -194,7 +194,6 @@ private: uint32 getDrawColor(onScreenPerson *thisPerson); // ZBuffer - int _zBufferToSet; ZBufferData *_zBuffer; void sortZPal(int *oldpal, int *newpal, int size); |