[Scummvm-git-logs] scummvm master -> c599d4f861eda4bc15a85bfbcfb41695f5e69234

dreammaster noreply at scummvm.org
Mon Aug 14 01:56:45 UTC 2023


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:
c599d4f861 MM: MM1: Fix setting up random monster list for combat


Commit: c599d4f861eda4bc15a85bfbcfb41695f5e69234
    https://github.com/scummvm/scummvm/commit/c599d4f861eda4bc15a85bfbcfb41695f5e69234
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-08-13T18:56:18-07:00

Commit Message:
MM: MM1: Fix setting up random monster list for combat

Changed paths:
    engines/mm/mm1/game/encounter.cpp


diff --git a/engines/mm/mm1/game/encounter.cpp b/engines/mm/mm1/game/encounter.cpp
index db50faa7f46..e6bdc19aaba 100644
--- a/engines/mm/mm1/game/encounter.cpp
+++ b/engines/mm/mm1/game/encounter.cpp
@@ -66,6 +66,7 @@ void Encounter::execute() {
 
 	while (firstLoop || _levelIndex < _totalLevels) {
 		randomAdjust();
+		firstLoop = false;
 
 		maxRand = _levelOffset + _highestLevel;
 		if (maxRand >= 2) {




More information about the Scummvm-git-logs mailing list