Browse Source

Compile fixes.

DjWarmonger 14 years ago
parent
commit
4895540f80
1 changed files with 6 additions and 1 deletions
  1. 6 1
      client/CVideoHandler.cpp

+ 6 - 1
client/CVideoHandler.cpp

@@ -465,10 +465,15 @@ void CVideoPlayer::close()
 	fname.clear();
 }
 
-void CVideoPlayer::nextFrame()
+bool CVideoPlayer::nextFrame()
 {
 	if(current)
+	{
 		current->nextFrame();
+		return true;
+	}
+	else
+		return false;
 }
 
 void CVideoPlayer::show(int x, int y, SDL_Surface *dst, bool update)