fixed warning: src/game/server/entities/laser.cpp:93: 'f' may be used uninitialized in this function

This commit is contained in:
GreYFoX 2011-09-01 02:14:05 +02:00
parent f845f271ad
commit d960765552

View file

@ -90,7 +90,7 @@ void CLaser::DoBounce()
vec2 TempPos = m_Pos;
vec2 TempDir = m_Dir * 4.0f;
int f;
int f = 0;
if(Res == -1)
{
f = GameServer()->Collision()->GetTile(round(Coltile.x), round(Coltile.y));