Quit game when finishing cinematic mode
This commit is contained in:
parent
b793c1750d
commit
0f9e46637e
1 changed files with 2 additions and 2 deletions
|
@ -373,8 +373,8 @@ int main(int argc, char* argv[]) {
|
||||||
// we have reached the end of the cinematic
|
// we have reached the end of the cinematic
|
||||||
if(animationTime >= endTime) {
|
if(animationTime >= endTime) {
|
||||||
currentShot = nullptr;
|
currentShot = nullptr;
|
||||||
|
|
||||||
world->meshes.clear();
|
running = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(currentShot != nullptr) {
|
if(currentShot != nullptr) {
|
||||||
|
|
Reference in a new issue