[Scummvm-git-logs] scummvm master -> 69182794c9241403d195a38c50caf89d934d7aab
digitall
noreply at scummvm.org
Mon Jul 25 14:06:06 UTC 2022
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:
69182794c9 SAGA2: Fix Possible Uninitialized Variable in Automap Code
Commit: 69182794c9241403d195a38c50caf89d934d7aab
https://github.com/scummvm/scummvm/commit/69182794c9241403d195a38c50caf89d934d7aab
Author: D G Turner (digitall at scummvm.org)
Date: 2022-07-25T15:04:42+01:00
Commit Message:
SAGA2: Fix Possible Uninitialized Variable in Automap Code
Should fix Coverity CID 1490802.
Changed paths:
engines/saga2/automap.cpp
diff --git a/engines/saga2/automap.cpp b/engines/saga2/automap.cpp
index 133876a9bef..5fee205c94c 100644
--- a/engines/saga2/automap.cpp
+++ b/engines/saga2/automap.cpp
@@ -163,6 +163,8 @@ AutoMap::AutoMap(const Rect16 box,
uint16 ident,
AppFunc *cmd)
: ModalWindow(box, ident, cmd) {
+ _autoMapCheat = false; // FIXME: Allow setting from debug console
+
// setup boundry definitions
_sumMapArea = Rect16(0, 0, kSumMapAreaWidth, kSumMapAreaHeight);
_summaryData = summary;
@@ -173,8 +175,6 @@ AutoMap::AutoMap(const Rect16 box,
}
_trackPos = getCenterActor()->getLocation();
-
- _autoMapCheat = false; // FIXME: Allow setting from debug console
}
// ------------------------------------------------------------------------
More information about the Scummvm-git-logs
mailing list