diff options
author | Max Horn | 2003-05-12 21:35:56 +0000 |
---|---|---|
committer | Max Horn | 2003-05-12 21:35:56 +0000 |
commit | b2d7f502f6d2ce3564d2cf25b65bc98964866370 (patch) | |
tree | 676be49bcfa6cb6af84134b0124eb5f799518a80 /scumm/gfx.cpp | |
parent | 7848ce64ea3af438bb7254b5e4a768fa8fdf93e0 (diff) | |
download | scummvm-rg350-b2d7f502f6d2ce3564d2cf25b65bc98964866370.tar.gz scummvm-rg350-b2d7f502f6d2ce3564d2cf25b65bc98964866370.tar.bz2 scummvm-rg350-b2d7f502f6d2ce3564d2cf25b65bc98964866370.zip |
made hasCharsetMask return a bool (fixes VC compilation warnings)
svn-id: r7478
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index c03b498f8d..d9f8c374de 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -802,11 +802,11 @@ void Scumm::restoreBG(int left, int top, int right, int bottom, byte backColor) } } -int Scumm::hasCharsetMask(int x, int y, int x2, int y2) { +bool Scumm::hasCharsetMask(int x, int y, int x2, int y2) { if (!_charset->_hasMask || y > gdi._mask_bottom || x > gdi._mask_right || y2 < gdi._mask_top || x2 < gdi._mask_left) - return 0; - return 1; + return false; + return true; } byte Scumm::isMaskActiveAt(int l, int t, int r, int b, byte *mem) { |