From ac1c2124e5b945fdd426bebc91d2ead79a3bf504 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 6 Jun 2011 11:17:25 +0200 Subject: SWORD25: Remove redundant bounds check --- engines/sword25/gfx/animationresource.h | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/sword25/gfx') 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 { -- cgit v1.2.3