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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user