From 73a63247e66d3d3ac4cb53a1a91cdd5632b904a4 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Wed, 26 Jan 2005 08:05:59 +0000 Subject: [PATCH] FIX: Dead appearance on start. --- stepmania/src/LifeMeterBar.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stepmania/src/LifeMeterBar.cpp b/stepmania/src/LifeMeterBar.cpp index 83f67169ac..71f1bbbd08 100644 --- a/stepmania/src/LifeMeterBar.cpp +++ b/stepmania/src/LifeMeterBar.cpp @@ -495,6 +495,14 @@ bool LifeMeterBar::IsFailing() const void LifeMeterBar::Update( float fDeltaTime ) { + // HACK: Prevent 'Dead on Start' appearance + // the way the physics work, if there is an unusually + // larget delta, it will cause the meter to have a very + // strange effect. + // + if ( fDeltaTime >= 2.0 ) + return; + LifeMeter::Update( fDeltaTime );