From 66362572eec25d4926c8eb64c53bcdf5aea3d9bf Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 3 Aug 2008 18:56:01 +0100 Subject: [PATCH] Make fireworks decay a bit faster --- src/HighScores.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/HighScores.cpp b/src/HighScores.cpp index a018992..d9d0a84 100644 --- a/src/HighScores.cpp +++ b/src/HighScores.cpp @@ -64,10 +64,11 @@ void HighScores::Process() fw[i].speed = 0; fw[i].em->createrate = 2.0f; fw[i].timeout = 5; - fw[i].em->life = 1.0f; - input.ResetKey(SDLK_RETURN); - input.ResetKey(SDLK_SPACE); + fw[i].em->life = 0.5f; } + + input.ResetKey(SDLK_RETURN); + input.ResetKey(SDLK_SPACE); } } else if (state == hssEnterName) { @@ -103,7 +104,7 @@ void HighScores::Process() fw[i].speed = 0; fw[i].em->createrate = 2.0f; fw[i].timeout = 5; - fw[i].em->life = 1.0f; + fw[i].em->life = 0.5f; fwBang.Play(); } -- 2.39.2