Skip to content

Commit

Permalink
HOPKINS: Fix glitch at the end of the intro caused by a double long f…
Browse files Browse the repository at this point in the history
…ade out

Thanks Greencis for reporting it. Also fix some code formatting
  • Loading branch information
Strangerke committed Jun 11, 2013
1 parent 305ac85 commit 4937c22
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions engines/hopkins/hopkins.cpp
Expand Up @@ -164,7 +164,7 @@ bool HopkinsEngine::runWin95Demo() {
_globals->_speed = 3;

if (_startGameSlot == -1)
_graphicsMan->fadeOutLong();
_graphicsMan->fadeOutShort();

_globals->_eventMode = EVENTMODE_IGNORE;
_globals->_characterSpriteBuf = _fileIO->loadFile("PERSO.SPR");
Expand Down Expand Up @@ -793,14 +793,14 @@ bool HopkinsEngine::runFull() {

if (_startGameSlot == -1) {
if (getPlatform() == Common::kPlatformLinux) {
_graphicsMan->loadImage("H2");
_graphicsMan->fadeInLong();
_events->delay(500);
_graphicsMan->fadeOutLong();
_globals->_speed = 2;
_globals->_eventMode = EVENTMODE_IGNORE;
_graphicsMan->_fadingFl = true;
_animMan->playAnim("MP.ANM", "MP.ANM", 10, 16, 200);
_graphicsMan->loadImage("H2");
_graphicsMan->fadeInLong();
_events->delay(500);
_graphicsMan->fadeOutLong();
_globals->_speed = 2;
_globals->_eventMode = EVENTMODE_IGNORE;
_graphicsMan->_fadingFl = true;
_animMan->playAnim("MP.ANM", "MP.ANM", 10, 16, 200);
} else {
_animMan->playAnim("MP.ANM", "MP.ANM", 10, 16, 200);
_graphicsMan->fadeOutLong();
Expand Down

0 comments on commit 4937c22

Please sign in to comment.