[Scummvm-git-logs] scummvm master -> 9a4b75c4db0352869b62974edf1753896b51003e
AndywinXp
noreply at scummvm.org
Sat Jul 6 19:14:25 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:
9a4b75c4db SCUMM: Remove whitespace
Commit: 9a4b75c4db0352869b62974edf1753896b51003e
https://github.com/scummvm/scummvm/commit/9a4b75c4db0352869b62974edf1753896b51003e
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-07-06T21:14:20+02:00
Commit Message:
SCUMM: Remove whitespace
Changed paths:
engines/scumm/he/sprite_he.cpp
engines/scumm/script_v6.cpp
diff --git a/engines/scumm/he/sprite_he.cpp b/engines/scumm/he/sprite_he.cpp
index 2d4a6d7872b..7182c1f0770 100644
--- a/engines/scumm/he/sprite_he.cpp
+++ b/engines/scumm/he/sprite_he.cpp
@@ -1717,6 +1717,13 @@ 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);
@@ -1922,6 +1929,15 @@ 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;
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index 778f00d276b..6955cd4fbb7 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -3510,7 +3510,7 @@ void ScummEngine_v6::shuffleArray(int num, int minIdx, int maxIdx) {
int rand1, rand2;
int range = maxIdx - minIdx;
int count = range * 2;
-
+
// Shuffle the array 'num'
while (count--) {
// Determine two random elements...
More information about the Scummvm-git-logs
mailing list