mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Who said people need sleep ... obviously i don't
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
parent
65fa246352
commit
ea73f56e0c
|
@ -276,7 +276,7 @@ void CCollision::SetDCollisionAt(float x, float y, int Flag, int Team)
|
|||
|
||||
int CCollision::GetDTileIndex(int Index,int Team)
|
||||
{
|
||||
if(!m_pDoor && !m_pDoor[Index].m_Index || ((Team < 0 || Team > 15) && Team !=99))
|
||||
if(!m_pDoor || !m_pDoor[Index].m_Index || ((Team < 0 || Team > 15) && Team !=99))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue