mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge branch 'master' of http://github.com/btd/DDRace
This commit is contained in:
commit
c884380186
|
@ -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