[Scummvm-git-logs] scummvm master -> adc9211b1ff5a4922c15da6fc8014ead3b1bc10c
elasota
noreply at scummvm.org
Sat Jul 2 03:53:42 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:
adc9211b1f MTROPOLIS: Don't emit AFC/ALC events from movie seeks.
Commit: adc9211b1ff5a4922c15da6fc8014ead3b1bc10c
https://github.com/scummvm/scummvm/commit/adc9211b1ff5a4922c15da6fc8014ead3b1bc10c
Author: elasota (ejlasota at gmail.com)
Date: 2022-07-01T23:52:51-04:00
Commit Message:
MTROPOLIS: Don't emit AFC/ALC events from movie seeks.
Changed paths:
engines/mtropolis/elements.cpp
diff --git a/engines/mtropolis/elements.cpp b/engines/mtropolis/elements.cpp
index e7f5fb0e58f..e580b811e90 100644
--- a/engines/mtropolis/elements.cpp
+++ b/engines/mtropolis/elements.cpp
@@ -1034,18 +1034,6 @@ VThreadState MovieElement::seekToTimeTask(const SeekToTimeTaskData &taskData) {
_needsReset = true;
_contentsDirty = true;
- if (_currentTimestamp == minTS) {
- Common::SharedPtr<MessageProperties> msgProps(new MessageProperties(Event::create(EventIDs::kAtFirstCel, 0), DynamicValue(), getSelfReference()));
- Common::SharedPtr<MessageDispatch> dispatch(new MessageDispatch(msgProps, this, false, true, false));
- taskData.runtime->sendMessageOnVThread(dispatch);
- }
-
- if (_currentTimestamp == maxTS) {
- Common::SharedPtr<MessageProperties> msgProps(new MessageProperties(Event::create(EventIDs::kAtLastCel, 0), DynamicValue(), getSelfReference()));
- Common::SharedPtr<MessageDispatch> dispatch(new MessageDispatch(msgProps, this, false, true, false));
- taskData.runtime->sendMessageOnVThread(dispatch);
- }
-
return kVThreadReturn;
}
More information about the Scummvm-git-logs
mailing list