Who said people need sleep ... obviously i don't

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
GreYFoXGTi 2010-09-26 06:43:51 +03:00
parent 65fa246352
commit ea73f56e0c

View file

@ -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;
}