mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix
This commit is contained in:
parent
9de4dad6ac
commit
e83581dd40
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue