mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Compile fix.
This commit is contained in:
@ -423,12 +423,12 @@ bool CVideoPlayer::open(std::string name)
|
|||||||
|
|
||||||
//extract video from video.vid so we can play it
|
//extract video from video.vid so we can play it
|
||||||
bool opened = false;
|
bool opened = false;
|
||||||
vidh->extract(name, name);
|
vidh.extract(name, name);
|
||||||
if (boost::filesystem::exists(name))
|
if (boost::filesystem::exists(name))
|
||||||
opened = current->open(name);
|
opened = current->open(name);
|
||||||
else // couldn't load video then load from ab resource file
|
else // couldn't load video then load from ab resource file
|
||||||
{
|
{
|
||||||
vidh_ab->extract(name, name);
|
vidh.extract(name, name);
|
||||||
if (boost::filesystem::exists(name))
|
if (boost::filesystem::exists(name))
|
||||||
opened = current->open(name);
|
opened = current->open(name);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user