1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Update GUIClasses.cpp

Removed excessive check for tavernVideo string
This commit is contained in:
Macron1Robot
2014-04-29 13:06:55 +04:00
parent cd7ec5716f
commit fd1640f931

View File

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