From a6d972eff75c5bcf91fcacc618e354176c638c7b Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Fri, 8 Oct 2010 18:42:38 +0200 Subject: [PATCH] i forgot to remove this i haven't made the propper checks for it --- src/game/collision.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/collision.cpp b/src/game/collision.cpp index 27ae88994..14473c990 100644 --- a/src/game/collision.cpp +++ b/src/game/collision.cpp @@ -237,8 +237,8 @@ int CCollision::GetFTile(int x, int y) int CCollision::Entity(int x, int y, bool Front) { - if((0 < x || x >= m_Width) || (0 < y || y >= m_Height)) - dbg_msg("CCollision::Entity","Something is VERY wrong please report this at github"); + /*if((0 < x || x >= m_Width) || (0 < y || y >= m_Height)) + dbg_msg("CCollision::Entity","Something is VERY wrong please report this at github");*/ int Index = Front?m_pFront[y*m_Width+x].m_Index:m_pTiles[y*m_Width+x].m_Index; return Index-ENTITY_OFFSET; }