From 444a35fe2c9c6230f45207ef8671a94278d5606a Mon Sep 17 00:00:00 2001 From: btd Date: Sat, 21 Aug 2010 14:21:51 +0400 Subject: [PATCH] Revert last fix --- 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 ca0a59c44..6beac3c8a 100644 --- a/src/game/collision.cpp +++ b/src/game/collision.cpp @@ -183,8 +183,8 @@ int CCollision::GetTile(int x, int y) } int CCollision::Entity(int x, int y, bool Front) { - if(0 < x || x >= m_Width) return 0; - if(0 < y || y >= m_Height) return 0; + //if(0 < x || x >= m_Width) return 0; + //if(0 < y || y >= m_Height) return 0; int Index = Front?m_pFront[y*m_Width+x].m_Index:m_pTiles[y*m_Width+x].m_Index; return Index-ENTITY_OFFSET; }