Skip to content

Commit

Permalink
Added check for IntroStateEnum::DONE
Browse files Browse the repository at this point in the history
added check for IntroStateEnum::DONE
  • Loading branch information
Mia75owo committed Dec 22, 2023
1 parent 780878c commit 16cff7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hurrican/src/Intro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 16cff7e

Please sign in to comment.