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

sdelamarre noreply at scummvm.org
Fri May 5 21:08:57 UTC 2023


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:
f98b2b607d GOB: fix a misleadingly named constant


Commit: f98b2b607d4d30dbce04165122c10938b7958ddd
    https://github.com/scummvm/scummvm/commit/f98b2b607d4d30dbce04165122c10938b7958ddd
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-05-05T23:08:34+02:00

Commit Message:
GOB: fix a misleadingly named constant

It has the same value of Draw::kFrontSurface, but it is not a surface index.

Changed paths:
    engines/gob/inter_v3.cpp


diff --git a/engines/gob/inter_v3.cpp b/engines/gob/inter_v3.cpp
index 39f4018ea53..27d729b7fb6 100644
--- a/engines/gob/inter_v3.cpp
+++ b/engines/gob/inter_v3.cpp
@@ -99,7 +99,7 @@ void Inter_v3::o3_copySprite(OpFuncParams &params) {
 
 	// For the close-up "fading" in the CD version
 	if (_vm->_draw->_destSurface == Draw::kFrontSurface)
-		_vm->_video->sparseRetrace(Draw::kFrontSurface);
+		_vm->_video->sparseRetrace(20);
 }
 
 void Inter_v3::o3_wobble(OpGobParams &params) {




More information about the Scummvm-git-logs mailing list