浏览代码

Compile fixes.

DjWarmonger 14 年之前
父节点
当前提交
4895540f80
共有 1 个文件被更改,包括 6 次插入1 次删除
  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)