We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf2eb2 commit 20a0fbeCopy full SHA for 20a0fbe
desktop_version/src/Editor.cpp
@@ -3294,8 +3294,7 @@ void check_if_dragging(void)
3294
for (size_t i = 0; i < customentities.size(); i++)
3295
{
3296
// If it's not in the current room, continue.
3297
- if (customentities[i].x < ed.levx * 40 || customentities[i].x >= (ed.levx + 1) * 40 ||
3298
- customentities[i].y < ed.levy * 30 || customentities[i].y >= (ed.levy + 1) * 30)
+ if (customentities[i].rx != ed.levx || customentities[i].ry != ed.levy)
3299
3300
continue;
3301
}
0 commit comments