From 16cff7ea924ba1ebea78c6ad28f1f523eda7ad1e Mon Sep 17 00:00:00 2001 From: Mia Date: Fri, 22 Dec 2023 17:47:57 +0100 Subject: [PATCH] Added check for IntroStateEnum::DONE added check for IntroStateEnum::DONE --- Hurrican/src/Intro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hurrican/src/Intro.cpp b/Hurrican/src/Intro.cpp index ae5f21ba..bece168d 100644 --- a/Hurrican/src/Intro.cpp +++ b/Hurrican/src/Intro.cpp @@ -99,7 +99,7 @@ IntroClass::~IntroClass() { // -------------------------------------------------------------------------------------- void IntroClass::EndIntro() { - if (Zustand != IntroStateEnum::FADEOUT) { + if (Zustand != IntroStateEnum::FADEOUT && Zustand != IntroStateEnum::DONE) { if (Zustand != IntroStateEnum::FADEIN) { Counter = 255.0f; }