diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-01 20:04:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-01 20:04:35 +0300 |
commit | b8cdabbd20690d57930dce9dda949fca21a6233a (patch) | |
tree | ddd3d0a3bb4d83206b92ede95b330430e803e26b /src/resources/imageloader.cpp | |
parent | ab1f66527863c7fcce6c3ccedda0d5560dc063c7 (diff) | |
download | manaplus-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.gz manaplus-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.bz2 manaplus-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.xz manaplus-b8cdabbd20690d57930dce9dda949fca21a6233a.zip |
Eliminate asserts from most files.
Diffstat (limited to 'src/resources/imageloader.cpp')
-rw-r--r-- | src/resources/imageloader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/resources/imageloader.cpp b/src/resources/imageloader.cpp index c63d33c00..72a839573 100644 --- a/src/resources/imageloader.cpp +++ b/src/resources/imageloader.cpp @@ -29,8 +29,6 @@ #include <guichan/sdl/sdlpixel.hpp> -#include <cassert> - #include "debug.h" #ifdef free @@ -79,12 +77,10 @@ int ProxyImage::getHeight() const return mImage->mBounds.h; else return 0; -// return mSDLImage ? mSDLImage->h : mImage->getHeight(); } gcn::Color ProxyImage::getPixel(int x, int y) { - assert(mSDLImage); return gcn::SDLgetPixel(mSDLImage, x, y); } |