Fix editor speedup brush

This commit is contained in:
Jupeyy 2020-09-08 18:21:13 +02:00 committed by heinrich5991
parent b83d8735fe
commit 3b403f76a9

View file

@ -1551,6 +1551,7 @@ void CLayerSpeedup::BrushDraw(CLayer *pBrush, float wx, float wy)
m_pSpeedupTile[fy*m_Width+fx].m_Force = 0;
m_pSpeedupTile[fy*m_Width+fx].m_MaxSpeed = 0;
m_pSpeedupTile[fy*m_Width+fx].m_Angle = 0;
m_pSpeedupTile[fy*m_Width+fx].m_Type = 0;
m_pTiles[fy*m_Width+fx].m_Index = 0;
}
}
@ -1559,6 +1560,7 @@ void CLayerSpeedup::BrushDraw(CLayer *pBrush, float wx, float wy)
m_pSpeedupTile[fy*m_Width+fx].m_Force = 0;
m_pSpeedupTile[fy*m_Width+fx].m_MaxSpeed = 0;
m_pSpeedupTile[fy*m_Width+fx].m_Angle = 0;
m_pSpeedupTile[fy*m_Width+fx].m_Type = 0;
m_pTiles[fy*m_Width+fx].m_Index = 0;
}
}