summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-04-09 02:13:27 +0200
committerTreeki <treeki@gmail.com>2013-04-09 02:13:27 +0200
commit33e22f774923bd4b8be3ffe8c62dd28c455790db (patch)
treee47d3dfb347ca50fbf63da65fdd05cbac3ff7b61 /src
parent04210e256b41de90bec58eac8c82342e46d0d29d (diff)
downloadkamek-33e22f774923bd4b8be3ffe8c62dd28c455790db.tar.gz
kamek-33e22f774923bd4b8be3ffe8c62dd28c455790db.zip
add separate Show Fireworks command to credits script
Diffstat (limited to 'src')
-rw-r--r--src/creditsMgr.cpp7
1 files 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() {