mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed warning: src/game/server/entities/laser.cpp:93: 'f' may be used uninitialized in this function
This commit is contained in:
parent
f845f271ad
commit
d960765552
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue