[Scummvm-git-logs] scummvm master -> 937272b3a3b63a70681f095454870faa4a671ae1
Strangerke
Strangerke at scummvm.org
Tue Jun 8 06:49:23 UTC 2021
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:
937272b3a3 TRECISION: Add a safeguard in dissolve() (Fix Coverity potential issue)
Commit: 937272b3a3b63a70681f095454870faa4a671ae1
https://github.com/scummvm/scummvm/commit/937272b3a3b63a70681f095454870faa4a671ae1
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2021-06-08T07:49:15+01:00
Commit Message:
TRECISION: Add a safeguard in dissolve() (Fix Coverity potential issue)
Changed paths:
engines/trecision/graphics.cpp
diff --git a/engines/trecision/graphics.cpp b/engines/trecision/graphics.cpp
index e9d07abec8..61c4e08616 100644
--- a/engines/trecision/graphics.cpp
+++ b/engines/trecision/graphics.cpp
@@ -413,8 +413,10 @@ void GraphicsManager::dissolve() {
while (sv + val > cv) {
_vm->checkSystem();
- if (lastv + cv < sv + val)
+ if (lastv + cv < sv + val) {
+ cv = _vm->readTime();
continue;
+ }
lastv = (sv - cv) + val;
More information about the Scummvm-git-logs
mailing list