fix warnings

This commit is contained in:
Glenn Maynard
2004-01-12 02:09:21 +00:00
parent f7491cb268
commit 4bc06f31f4
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ void CombinedLifeMeterTug::ChangeLife( PlayerNumber pn, float fPercentToMove )
{
if( PREFSMAN->m_bMercifulDrain && fPercentToMove < 0 )
{
float fLifePercentage;
float fLifePercentage = 0;
switch( pn )
{
case PLAYER_1: fLifePercentage = GAMESTATE->m_fTugLifePercentP1; break;