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

mduggan mgithub at guarana.org
Tue Jun 8 08:24:51 UTC 2021


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:
e0cc5c6156 ULTIMA8: Correct egg z range for Crusader


Commit: e0cc5c61561d7e1b85d8858d4132bad324e2d24f
    https://github.com/scummvm/scummvm/commit/e0cc5c61561d7e1b85d8858d4132bad324e2d24f
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2021-06-08T17:24:25+09:00

Commit Message:
ULTIMA8: Correct egg z range for Crusader

My previous disassembly incorrectly thought that the z range was 96 for
Crusader, but it's actually 48 either side of the egg, just like U8.

Changed paths:
    engines/ultima/ultima8/world/egg_hatcher_process.cpp


diff --git a/engines/ultima/ultima8/world/egg_hatcher_process.cpp b/engines/ultima/ultima8/world/egg_hatcher_process.cpp
index b4b0bc135a..f2d3d9d538 100644
--- a/engines/ultima/ultima8/world/egg_hatcher_process.cpp
+++ b/engines/ultima/ultima8/world/egg_hatcher_process.cpp
@@ -56,7 +56,7 @@ void EggHatcherProcess::run() {
 
 	// CONSTANTS!
 	const int range_mul = GAME_IS_U8 ? 32 : 64;
-	const int z_range = GAME_IS_U8 ? 48 : 96;
+	const int z_range = 48;
 
 	for (unsigned int i = 0; i < _eggs.size(); i++) {
 		uint16 eggid = _eggs[i];




More information about the Scummvm-git-logs mailing list