[Scummvm-git-logs] scummvm master -> 67705a216ec3be8b9c0d3bb4a22696acd3cf1157

AndywinXp noreply at scummvm.org
Sat Jul 6 19:59:39 UTC 2024


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:
67705a216e SCUMM: HE: Remove accidental debug code


Commit: 67705a216ec3be8b9c0d3bb4a22696acd3cf1157
    https://github.com/scummvm/scummvm/commit/67705a216ec3be8b9c0d3bb4a22696acd3cf1157
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-07-06T21:59:35+02:00

Commit Message:
SCUMM: HE: Remove accidental debug code

Changed paths:
    engines/scumm/he/sprite_he.cpp


diff --git a/engines/scumm/he/sprite_he.cpp b/engines/scumm/he/sprite_he.cpp
index 7182c1f0770..2d4a6d7872b 100644
--- a/engines/scumm/he/sprite_he.cpp
+++ b/engines/scumm/he/sprite_he.cpp
@@ -1717,13 +1717,6 @@ void Sprite::renderSprites(bool negativeOrPositiveRender) {
 		image = spritePtr[i]->image;
 		state = spritePtr[i]->state;
 
-		if (image == 495) {
-			if (state == 15) {
-				debug("state %d", state);
-				// return;
-			}
-		}
-
 		int32 spotX = 0, spotY = 0;
 		calcSpriteSpot(spritePtr[i], true, spotX, spotY);
 
@@ -1929,15 +1922,6 @@ void Sprite::renderSprites(bool negativeOrPositiveRender) {
 				imageRenderCmd.destImageNumber = destImageNumber;
 			}
 
-			if (image == 495) {
-				
-				if (state == 15) {
-					//debug("state %d", state);
-					//return;
-				}
-			}
-
-
 			// Finally actually do something by calling the command parser...
 			if (_vm->_game.heversion > 99 || _vm->_isHE995) {
 				imageRenderCmd.actionType = kWADraw;




More information about the Scummvm-git-logs mailing list