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

lephilousophe noreply at scummvm.org
Thu Jan 26 19:49:27 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:
daf92e18b7 MM: MM1: One last RiscOS compilation fix


Commit: daf92e18b774192bbe30e87c0847ce4c37bdbef0
    https://github.com/scummvm/scummvm/commit/daf92e18b774192bbe30e87c0847ce4c37bdbef0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-01-26T20:49:02+01:00

Commit Message:
MM: MM1: One last RiscOS compilation fix

Changed paths:
    engines/mm/mm1/maps/map29.cpp


diff --git a/engines/mm/mm1/maps/map29.cpp b/engines/mm/mm1/maps/map29.cpp
index 1572ca4cd3e..4ae60418f56 100644
--- a/engines/mm/mm1/maps/map29.cpp
+++ b/engines/mm/mm1/maps/map29.cpp
@@ -151,7 +151,7 @@ void Map29::special03() {
 		STRING["maps.map29.attack"],
 		[]() {
 			Game::Encounter &enc = g_globals->_encounters;
-			int monsterCount = getRandomNumber(5) + 6;
+			int monsterCount = g_events->getRandomNumber(5) + 6;
 			g_maps->clearSpecial();
 
 			enc.clearMonsters();




More information about the Scummvm-git-logs mailing list