From e83581dd40db8ac3cb55728ff76315970caab272 Mon Sep 17 00:00:00 2001 From: btd Date: Sat, 9 Oct 2010 02:05:17 +0400 Subject: [PATCH] Fix --- src/game/collision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/collision.cpp b/src/game/collision.cpp index b8c8a879e..adc605f0a 100644 --- a/src/game/collision.cpp +++ b/src/game/collision.cpp @@ -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;