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

whiterandrek whiterandrek at gmail.com
Sat May 30 22:33:01 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:
d1ce356cbe PETKA: removed junk


Commit: d1ce356cbe9d309985e9cf9f0b4361d6b6ad25a7
    https://github.com/scummvm/scummvm/commit/d1ce356cbe9d309985e9cf9f0b4361d6b6ad25a7
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-05-31T01:32:49+03:00

Commit Message:
PETKA: removed junk

Changed paths:
    engines/petka/objects/object.cpp


diff --git a/engines/petka/objects/object.cpp b/engines/petka/objects/object.cpp
index 36073f5076..8876d791ca 100644
--- a/engines/petka/objects/object.cpp
+++ b/engines/petka/objects/object.cpp
@@ -391,11 +391,6 @@ void QMessageObject::readScriptData(Common::SeekableReadStream &stream) {
 			msg->arg1 = stream.readUint16LE();
 			msg->arg2 = stream.readUint16LE();
 			msg->arg3 = stream.readUint16LE();
-			if (msg->opcode == kPlay || msg->opcode == kSet) {
-				if (msg->arg2 != 1 && msg->arg2 != -1 && msg->arg2 != 5) {
-					debug("MSG PLAY 2 5");
-				}
-			}
 		}
 	}
 }




More information about the Scummvm-git-logs mailing list