mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge branch 'master' of github.com:ddnet/ddnet
This commit is contained in:
commit
e0ee7a2bb9
|
@ -70,11 +70,11 @@ void CCollision::Init(class CLayers *pLayers)
|
|||
}
|
||||
|
||||
if(m_pLayers->TuneLayer())
|
||||
{
|
||||
{
|
||||
unsigned int Size = m_pLayers->Map()->GetUncompressedDataSize(m_pLayers->TuneLayer()->m_Tune);
|
||||
if (Size >= m_Width*m_Height*sizeof(CTuneTile))
|
||||
m_pTune = static_cast<CTuneTile *>(m_pLayers->Map()->GetData(m_pLayers->TuneLayer()->m_Tune));
|
||||
}
|
||||
}
|
||||
|
||||
if(m_pLayers->FrontLayer())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue