[Scummvm-git-logs] scummvm master -> 342861636be2b3be135efdb922a0dbb676a67575
dreammaster
paulfgilbert at gmail.com
Wed Jun 3 23:49:28 UTC 2020
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:
342861636b GLK: COMPREHEND: Fix cretion of game classes other than Transylvania
Commit: 342861636be2b3be135efdb922a0dbb676a67575
https://github.com/scummvm/scummvm/commit/342861636be2b3be135efdb922a0dbb676a67575
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-06-03T16:49:16-07:00
Commit Message:
GLK: COMPREHEND: Fix cretion of game classes other than Transylvania
Changed paths:
engines/glk/comprehend/comprehend.cpp
diff --git a/engines/glk/comprehend/comprehend.cpp b/engines/glk/comprehend/comprehend.cpp
index 32b31b3a56..33a7abc464 100644
--- a/engines/glk/comprehend/comprehend.cpp
+++ b/engines/glk/comprehend/comprehend.cpp
@@ -107,11 +107,11 @@ void Comprehend::createDebugger() {
void Comprehend::createGame() {
if (_gameDescription._gameId == "crimsoncrown")
_game = new CrimsonCrownGame();
- if (_gameDescription._gameId == "ootopis")
+ else if (_gameDescription._gameId == "ootopis")
_game = new OOToposGame();
- if (_gameDescription._gameId == "talisman")
+ else if (_gameDescription._gameId == "talisman")
_game = new OOToposGame();
- if (_gameDescription._gameId == "transylvania")
+ else if (_gameDescription._gameId == "transylvania")
_game = new TransylvaniaGame();
else
error("Unknown game");
More information about the Scummvm-git-logs
mailing list