1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Compile fix.

This commit is contained in:
DjWarmonger 2011-08-07 19:30:30 +00:00
parent 2cc80e1267
commit de0d6b8c17

View File

@ -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);
}