[Scummvm-git-logs] scummvm master -> 8faaa6d4f10d84c0083215ee532984dab097053f

sdelamarre noreply at scummvm.org
Mon May 1 20:26:16 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:
8faaa6d4f1 GOB: fix "fill" paint tool in Adibou1 versions using coordinates adjustment


Commit: 8faaa6d4f10d84c0083215ee532984dab097053f
    https://github.com/scummvm/scummvm/commit/8faaa6d4f10d84c0083215ee532984dab097053f
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-05-01T22:26:03+02:00

Commit Message:
GOB: fix "fill" paint tool in Adibou1 versions using coordinates adjustment

Changed paths:
    engines/gob/inter_adibou1.cpp


diff --git a/engines/gob/inter_adibou1.cpp b/engines/gob/inter_adibou1.cpp
index ff001ece2bd..cf166517466 100644
--- a/engines/gob/inter_adibou1.cpp
+++ b/engines/gob/inter_adibou1.cpp
@@ -103,6 +103,10 @@ void Inter_Adibou1::oAdibou1_fillAreaAtPoint(OpGobParams &params) {
 
 	int16 x = VAR(varX);
 	int16 y = VAR(varY);
+	if (_vm->_draw->_needAdjust != 2) {
+		x *= 2;
+		y *= 2;
+	}
 	int16 spriteIndex = VAR(varSpriteIndex);
 	int16 color = VAR(varColor);
 




More information about the Scummvm-git-logs mailing list