aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/graphics/animate.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp
index 7550e855bf..b0b4fed427 100644
--- a/engines/sci/graphics/animate.cpp
+++ b/engines/sci/graphics/animate.cpp
@@ -631,9 +631,14 @@ void GfxAnimate::kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t
fill(old_picNotValid);
if (old_picNotValid) {
- _ports->beginUpdate(_ports->_picWind);
+ // beginUpdate()/endUpdate() were introduced SCI01
+ // calling those for SCI0 will work most of the time but breaks minor stuff like percentage bar of qfg1ega
+ // at the character skill screen
+ if (getSciVersion() >= SCI_VERSION_01)
+ _ports->beginUpdate(_ports->_picWind);
update();
- _ports->endUpdate(_ports->_picWind);
+ if (getSciVersion() >= SCI_VERSION_01)
+ _ports->endUpdate(_ports->_picWind);
}
drawCels();