From 33e22f774923bd4b8be3ffe8c62dd28c455790db Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 9 Apr 2013 02:13:27 +0200 Subject: add separate Show Fireworks command to credits script --- src/creditsMgr.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp index a84fe40..f680ed5 100644 --- a/src/creditsMgr.cpp +++ b/src/creditsMgr.cpp @@ -324,6 +324,10 @@ int dCreditsMgr_c::onExecute() { case 18: GetTheEnd()->willHide = true; break; + case 19: + fireworks = true; + fireworksCountdown = 25; + break; } } } @@ -557,9 +561,6 @@ void dCreditsMgr_c::playerLookUp() { lookAtMode = 2; // Higher maximum distance } void dCreditsMgr_c::theEnd() { - fireworks = true; - fireworksCountdown = 25; - GetTheEnd()->willShow = true; } void dCreditsMgr_c::exitStage() { -- cgit v1.2.3