Fixed bug # 1401416.

svn-id: r19983
This commit is contained in:
Johannes Schickel 2006-01-11 13:53:16 +00:00
parent e179f3f6ed
commit 95ee7c97ef

View file

@ -121,7 +121,7 @@ void WSAMovieV1::close() {
void WSAMovieV1::displayFrame(int frameNum) {
debug(9, "WSAMovieV1::displayFrame(%d)", frameNum);
if (frameNum > _numFrames || !_opened)
if (frameNum >= _numFrames || !_opened)
return;
uint8 *dst;