diff options
| -rw-r--r-- | engines/access/amazon/amazon_game.cpp | 6 | ||||
| -rw-r--r-- | engines/access/amazon/amazon_game.h | 5 | 
2 files changed, 11 insertions, 0 deletions
| diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index 9b9df8bc25..912c4ddfd2 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -87,6 +87,11 @@ void AmazonEngine::freeInactivePlayer() {  	_inactive._altSpritesPtr = nullptr;  } +void AmazonEngine::configSelect() { +	// Initialize fields contained in the config file. +	_hintLevel = 3; +} +  void AmazonEngine::playGame() {  	// Initialize Amazon game-specific objects  	_room = new AmazonRoom(this); @@ -95,6 +100,7 @@ void AmazonEngine::playGame() {  	// Setup the game  	setupGame(); +	configSelect();  	if (_loadSaveSlot == -1) {  		// Do introduction diff --git a/engines/access/amazon/amazon_game.h b/engines/access/amazon/amazon_game.h index 2d371ca9fb..d67f0c2150 100644 --- a/engines/access/amazon/amazon_game.h +++ b/engines/access/amazon/amazon_game.h @@ -98,6 +98,11 @@ private:  	 */  	void setupGame(); +	/** +	 * Initialize variables found in the config file +	 */ +	void configSelect(); +  	void initVariables();  	void calcIQ();  	void helpTitle(); | 
