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 394aee8 commit 4e89968Copy full SHA for 4e89968
desktop_version/src/Editor.cpp
@@ -3292,8 +3292,7 @@ void check_if_dragging(void)
3292
for (size_t i = 0; i < customentities.size(); i++)
3293
{
3294
// If it's not in the current room, continue.
3295
- if (customentities[i].x < ed.levx * 40 || customentities[i].x >= (ed.levx + 1) * 40 ||
3296
- customentities[i].y < ed.levy * 30 || customentities[i].y >= (ed.levy + 1) * 30)
+ if (customentities[i].rx != ed.levx || customentities[i].ry != ed.levy)
3297
3298
continue;
3299
}
0 commit comments