[Scummvm-cvs-logs] scummvm master -> d18483142d4a639c0965d65a8fb9ea2d3d5c0828

dreammaster dreammaster at scummvm.org
Sat Feb 6 21:28:49 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d18483142d MADS: Fix game loop crash


Commit: d18483142d4a639c0965d65a8fb9ea2d3d5c0828
    https://github.com/scummvm/scummvm/commit/d18483142d4a639c0965d65a8fb9ea2d3d5c0828
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-02-06T15:28:13-05:00

Commit Message:
MADS: Fix game loop crash

Changed paths:
    engines/mads/mads.cpp



diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index 963a35c..deccb5b 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -98,14 +98,7 @@ void MADSEngine::initialize() {
 	_sound = new SoundManager(this, _mixer);
 	_audio = new AudioPlayer(_mixer, getGameID());
 	_game = Game::init(this);
-
-	switch (getGameID()) {
-	case GType_RexNebular:
-		_gameConv = nullptr;
-		break;
-	default:
-		_gameConv = new GameConversations(this);
-	}
+	_gameConv = new GameConversations(this);
 
 	loadOptions();
 






More information about the Scummvm-git-logs mailing list