diff options
author | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-14 17:04:58 +0000 |
---|---|---|
committer | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-14 17:04:58 +0000 |
commit | a4e5c0affdc25f82af1ccd2cee0eeb915c9a45ef (patch) | |
tree | 26cf3cc732e8becd11148edb8b9c15954964b2f4 | |
parent | 3a4c0c50eb66a608d74b8c3158e80d3f9209f7bb (diff) |
Always initialize flash effect to 255,255,255 on beginning
-rw-r--r-- | src/SSVOpenHexagon/Core/HexagonGame.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SSVOpenHexagon/Core/HexagonGame.cpp b/src/SSVOpenHexagon/Core/HexagonGame.cpp index 98b190e8..d93d39e6 100644 --- a/src/SSVOpenHexagon/Core/HexagonGame.cpp +++ b/src/SSVOpenHexagon/Core/HexagonGame.cpp @@ -670,6 +670,9 @@ void HexagonGame::newGame(const std::string& mPackId, const std::string& mId, particles.clear(); trailParticles.clear(); + // Re-init default flash effect + initFlashEffect(255, 255, 255); + if(window != nullptr) { SSVOH_ASSERT(overlayCamera.has_value()); |