[Scummvm-git-logs] scummvm master -> 5af5765e8da99ed9ffd13ff7ad2c804334b4e29b
scemino
noreply at scummvm.org
Thu Apr 11 20:19:54 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:
5af5765e8d TWP: Fix Copy-paste error in clipper.
Commit: 5af5765e8da99ed9ffd13ff7ad2c804334b4e29b
https://github.com/scummvm/scummvm/commit/5af5765e8da99ed9ffd13ff7ad2c804334b4e29b
Author: scemino (scemino74 at gmail.com)
Date: 2024-04-11T22:16:35+02:00
Commit Message:
TWP: Fix Copy-paste error in clipper.
Coverity CID 1228619
Changed paths:
engines/twp/clipper/clipper.cpp
diff --git a/engines/twp/clipper/clipper.cpp b/engines/twp/clipper/clipper.cpp
index 93c195e181c..c38bfc1ef5f 100644
--- a/engines/twp/clipper/clipper.cpp
+++ b/engines/twp/clipper/clipper.cpp
@@ -909,7 +909,7 @@ TEdge *ClipperBase::ProcessBound(TEdge *E, bool NextIsForward) {
EStart = E->Next;
if (IsHorizontal(*EStart)) // ie an adjoining horizontal skip edge
{
- if (EStart->Bot.X != E->Bot.X && EStart->Top.X != E->Bot.X)
+ if (EStart->Bot.X != E->Bot.X && EStart->Top.X != E->Top.X)
ReverseHorizontal(*E);
} else if (EStart->Bot.X != E->Bot.X)
ReverseHorizontal(*E);
More information about the Scummvm-git-logs
mailing list