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

Fix for map tavern (video set to standard)

This commit is contained in:
Macron1Robot 2014-04-25 01:06:14 +04:00
parent b7b890acff
commit 9123c7a787

View File

@ -3742,8 +3742,10 @@ CTavernWindow::CTavernWindow(const CGObjectInstance *TavernObj):
if(selected == -1)
recruit->block(true);
}
CCS->videoh->open(LOCPLINT->castleInt->town->town->clientInfo.tavernVideo);
if (LOCPLINT->castleInt && LOCPLINT->castleInt->town->town->clientInfo.tavernVideo!="")
CCS->videoh->open(LOCPLINT->castleInt->town->town->clientInfo.tavernVideo);
else
CCS->videoh->open("TAVERN.BIK");
}
void CTavernWindow::recruitb()