Explorar o código

Compile fixes.

DjWarmonger %!s(int64=14) %!d(string=hai) anos
pai
achega
4895540f80
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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)