[Scummvm-git-logs] scummvm master -> 148a4195a8e1d48318262eb63619f1ec193a1f05

phcoder phcoder at gmail.com
Sun Nov 1 18:40:27 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:
148a4195a8 ULTIMA: Fix compilation with older compilers


Commit: 148a4195a8e1d48318262eb63619f1ec193a1f05
    https://github.com/scummvm/scummvm/commit/148a4195a8e1d48318262eb63619f1ec193a1f05
Author: Vladimir Serbinenko (phcoder at google.com)
Date: 2020-11-01T19:40:00+01:00

Commit Message:
ULTIMA: Fix compilation with older compilers

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


diff --git a/engines/ultima/ultima8/world/item.cpp b/engines/ultima/ultima8/world/item.cpp
index 87bf7bad16..f35230a73f 100644
--- a/engines/ultima/ultima8/world/item.cpp
+++ b/engines/ultima/ultima8/world/item.cpp
@@ -1347,7 +1347,7 @@ uint16 Item::fireDistance(Item *other, Direction dir, int16 xoff, int16 yoff, in
 		int32 ocx, ocy, ocz;
 		other->getCentre(ocx, ocy, ocz);
 		const int32 start[3] = {cx, cy, cz};
-		const int32 end[3] {ocx, ocy, cz};
+		const int32 end[3] = {ocx, ocy, cz};
 		const int32 dims[3] = { 2, 2, 2 };
 
 		Std::list<CurrentMap::SweepItem> collisions;




More information about the Scummvm-git-logs mailing list