diff options
author | Max Horn | 2011-06-06 11:17:25 +0200 |
---|---|---|
committer | Max Horn | 2011-06-06 11:19:07 +0200 |
commit | ac1c2124e5b945fdd426bebc91d2ead79a3bf504 (patch) | |
tree | 8501b410eb91d271aec9aea7961768b392ed9a59 /engines/sword25 | |
parent | 9c86e1a0a8abcee29bf8696b37594d17b589990c (diff) | |
download | scummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.tar.gz scummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.tar.bz2 scummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.zip |
SWORD25: Remove redundant bounds check
Diffstat (limited to 'engines/sword25')
-rw-r--r-- | engines/sword25/gfx/animationresource.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sword25/gfx/animationresource.h b/engines/sword25/gfx/animationresource.h index d6c2b1c50f..70291f220e 100644 --- a/engines/sword25/gfx/animationresource.h +++ b/engines/sword25/gfx/animationresource.h @@ -49,7 +49,6 @@ public: virtual ~AnimationResource(); virtual const Frame &getFrame(uint index) const { - assert(index < _frames.size()); return _frames[index]; } virtual uint getFrameCount() const { |