1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

set scale to off by default

This commit is contained in:
AlexVinS 2014-07-08 22:01:01 +04:00
parent 0efb6e2890
commit 18f34e14f8
2 changed files with 3 additions and 1 deletions

View File

@ -779,10 +779,12 @@ void processCommand(const std::string &message)
//plays intro, ends when intro is over or button has been pressed (handles events) //plays intro, ends when intro is over or button has been pressed (handles events)
void playIntro() void playIntro()
{ {
CCS->videoh->setScaling(true);
if(CCS->videoh->openAndPlayVideo("3DOLOGO.SMK", 60, 40, screen, true)) if(CCS->videoh->openAndPlayVideo("3DOLOGO.SMK", 60, 40, screen, true))
{ {
CCS->videoh->openAndPlayVideo("AZVS.SMK", 60, 80, screen, true); CCS->videoh->openAndPlayVideo("AZVS.SMK", 60, 80, screen, true);
} }
CCS->videoh->setScaling(false);
} }
void dispose() void dispose()

View File

@ -72,7 +72,7 @@ CVideoPlayer::CVideoPlayer()
// av_register_output_format() / av_register_protocol() instead. // av_register_output_format() / av_register_protocol() instead.
av_register_all(); av_register_all();
doScale = true; doScale = false;
} }
bool CVideoPlayer::open(std::string fname) bool CVideoPlayer::open(std::string fname)