Improve collision entity access error message

See #6489.
This commit is contained in:
Robert Müller 2023-04-02 00:02:40 +02:00
parent ab73cc718f
commit ed26be0917

View file

@ -1056,7 +1056,7 @@ int CCollision::Entity(int x, int y, int Layer) const
default:
pName = "Unknown";
}
dbg_msg("collision", "something is VERY wrong with the %s layer please report this at https://github.com/ddnet/ddnet, you will need to post the map as well and any steps that u think may have led to this", pName);
dbg_msg("collision", "Something is VERY wrong with the %s layer near (%d, %d). Please report this at https://github.com/ddnet/ddnet/issues, you will need to post the map as well and any steps that you think may have led to this.", pName, x, y);
return 0;
}
switch(Layer)