[Scummvm-git-logs] scummvm master -> 0c3ee33c1f6f4240503dc211be733652f31c50cb

neuromancer noreply at scummvm.org
Sat Jan 15 15:20:07 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:
0c3ee33c1f HYPNO: reset intros when loading in spider


Commit: 0c3ee33c1f6f4240503dc211be733652f31c50cb
    https://github.com/scummvm/scummvm/commit/0c3ee33c1f6f4240503dc211be733652f31c50cb
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-01-15T16:20:03+01:00

Commit Message:
HYPNO: reset intros when loading in spider

Changed paths:
    engines/hypno/spider/spider.cpp


diff --git a/engines/hypno/spider/spider.cpp b/engines/hypno/spider/spider.cpp
index f8542bba4dd..07642f98391 100644
--- a/engines/hypno/spider/spider.cpp
+++ b/engines/hypno/spider/spider.cpp
@@ -1024,6 +1024,9 @@ Common::Error SpiderEngine::loadGameStream(Common::SeekableReadStream *stream) {
 	_nextLevel = stream->readString();
 	_checkpoint = _nextLevel;
 
+	// Reset played intros
+	_intros.clear();
+
 	// Reset state variables from puzzles
 	for (int i = 0; i < 2; i++)
 		for (int j = 0; j < 10; j++)




More information about the Scummvm-git-logs mailing list