mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Compile fix.
This commit is contained in:
parent
2cc80e1267
commit
de0d6b8c17
@ -423,12 +423,12 @@ bool CVideoPlayer::open(std::string name)
|
||||
|
||||
//extract video from video.vid so we can play it
|
||||
bool opened = false;
|
||||
vidh->extract(name, name);
|
||||
vidh.extract(name, name);
|
||||
if (boost::filesystem::exists(name))
|
||||
opened = current->open(name);
|
||||
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))
|
||||
opened = current->open(name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user