diff options
author | Filippos Karapetis | 2011-01-23 15:01:24 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-23 15:01:24 +0000 |
commit | 125078582262b40dfa53695c5e3e30d48f1ec380 (patch) | |
tree | c0678e6a8a2ef8e68372c71b3d1d66012ce65ddb /engines/sword25/gfx/image/swimage.cpp | |
parent | 04af67d736979272e17b0dcd0e3e4371fc0d07cc (diff) | |
download | scummvm-rg350-125078582262b40dfa53695c5e3e30d48f1ec380.tar.gz scummvm-rg350-125078582262b40dfa53695c5e3e30d48f1ec380.tar.bz2 scummvm-rg350-125078582262b40dfa53695c5e3e30d48f1ec380.zip |
SWORD25: Replaced BS_ASSERT() with assert()
svn-id: r55464
Diffstat (limited to 'engines/sword25/gfx/image/swimage.cpp')
-rw-r--r-- | engines/sword25/gfx/image/swimage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/image/swimage.cpp b/engines/sword25/gfx/image/swimage.cpp index 143754ce58..ff06491b36 100644 --- a/engines/sword25/gfx/image/swimage.cpp +++ b/engines/sword25/gfx/image/swimage.cpp @@ -45,7 +45,7 @@ SWImage::SWImage(const Common::String &filename, bool &result) : result = false; PackageManager *pPackage = Kernel::getInstance()->getPackage(); - BS_ASSERT(pPackage); + assert(pPackage); // Datei laden byte *pFileData; @@ -104,8 +104,8 @@ bool SWImage::setContent(const byte *pixeldata, uint size, uint offset, uint str } uint SWImage::getPixel(int x, int y) { - BS_ASSERT(x >= 0 && x < _width); - BS_ASSERT(y >= 0 && y < _height); + assert(x >= 0 && x < _width); + assert(y >= 0 && y < _height); return _imageDataPtr[_width * y + x]; } |