aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2011-06-06 11:17:25 +0200
committerMax Horn2011-06-06 11:19:07 +0200
commitac1c2124e5b945fdd426bebc91d2ead79a3bf504 (patch)
tree8501b410eb91d271aec9aea7961768b392ed9a59 /engines
parent9c86e1a0a8abcee29bf8696b37594d17b589990c (diff)
downloadscummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.tar.gz
scummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.tar.bz2
scummvm-rg350-ac1c2124e5b945fdd426bebc91d2ead79a3bf504.zip
SWORD25: Remove redundant bounds check
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/animationresource.h1
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 {