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

dreammaster paulfgilbert at gmail.com
Tue Feb 18 06:08:16 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:
d90d18027d ULTIMA8: Fix switch character constants


Commit: d90d18027d9b02064b49c4313ec2fd3d9870e625
    https://github.com/scummvm/scummvm/commit/d90d18027d9b02064b49c4313ec2fd3d9870e625
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-02-17T22:08:06-08:00

Commit Message:
ULTIMA8: Fix switch character constants

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 308bb70..29ab6b4 100644
--- a/engines/ultima/ultima8/world/item.cpp
+++ b/engines/ultima/ultima8/world/item.cpp
@@ -803,9 +803,9 @@ bool Item::checkLoopScript(const uint8 *script, uint32 scriptsize) {
 		case 'u':
 		case 'v':
 		case 'w':
-		case '_x':
-		case '_y':
-		case '_z': {
+		case 'x':
+		case 'y':
+		case 'z': {
 			bool match = false;
 			int count = script[i] - '`';
 			for (int j = 0; j < count; j++) {




More information about the Scummvm-git-logs mailing list