1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Compile fixes. Game doesn't even launch, however.

This commit is contained in:
DjWarmonger
2013-07-28 18:57:07 +00:00
parent b87897096c
commit a314a81fd5
3 changed files with 13 additions and 7 deletions

View File

@@ -412,7 +412,7 @@ bool CVideoPlayer::open(std::string name)
// We can handle only videos in form of single file, no archive support yet.
{
ResourceID videoID = ResourceID("VIDEO/" + name, EResType::VIDEO);
std::string realVideoFilename = CResourceHandler::get()->getResourceName(videoID);
std::string realVideoFilename = CResourceHandler::get()->getResourceName(videoID).get();
if(boost::algorithm::iends_with(realVideoFilename, ".BIK"))
current = &bikPlayer;