1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
- vcmibuilder will correctly install campaign video
This commit is contained in:
Ivan Savenko
2013-02-27 15:46:14 +00:00
parent 459e858756
commit 9c1c337a3d
5 changed files with 21 additions and 13 deletions

View File

@@ -627,7 +627,10 @@ bool CVideoPlayer::open(std::string fname, bool loop, bool useOverlay)
ResourceID resource(std::string("Video/") + fname, EResType::VIDEO);
if (!CResourceHandler::get()->existsResource(resource))
{
tlog0 << "Error: video " << resource.getName() << " was not found\n";
return false;
}
data = CResourceHandler::get()->load(resource);