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/actorsprite.cpp | |
parent | ab1f66527863c7fcce6c3ccedda0d5560dc063c7 (diff) | |
download | mv-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.gz mv-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.bz2 mv-b8cdabbd20690d57930dce9dda949fca21a6233a.tar.xz mv-b8cdabbd20690d57930dce9dda949fca21a6233a.zip |
Eliminate asserts from most files.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index 848e84e0f..2b133eca5 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -477,9 +477,6 @@ void ActorSprite::loadTargetCursor(const std::string &filename, if (size < TC_SMALL || size >= NUM_TC) return; -// assert(size > -1); -// assert(size < 3); - ResourceManager *resman = ResourceManager::getInstance(); ImageSet *currentImageSet = resman->getImageSet(filename, width, height); @@ -493,7 +490,6 @@ void ActorSprite::loadTargetCursor(const std::string &filename, for (unsigned int i = 0; i < currentImageSet->size(); ++i) { -// anim->addFrame(currentImageSet->get(i), 0, anim->addFrame(currentImageSet->get(i), 75, (16 - (currentImageSet->getWidth() / 2)), (16 - (currentImageSet->getHeight() / 2)), |