This commit is contained in:
btd 2010-10-09 02:05:17 +04:00
parent 9de4dad6ac
commit e83581dd40

View file

@ -237,7 +237,7 @@ 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))
if((0 > x || x >= m_Width) || (0 > y || y >= m_Height))
{
dbg_msg("CCollision::Entity","Something is VERY wrong please report this at github");
return 0;