mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Fix teleporter point clicking only working in 0,0
This commit is contained in:
parent
394aee8be6
commit
4e899682f8
1 changed files with 1 additions and 2 deletions
|
@ -3292,8 +3292,7 @@ void check_if_dragging(void)
|
|||
for (size_t i = 0; i < customentities.size(); i++)
|
||||
{
|
||||
// If it's not in the current room, continue.
|
||||
if (customentities[i].x < ed.levx * 40 || customentities[i].x >= (ed.levx + 1) * 40 ||
|
||||
customentities[i].y < ed.levy * 30 || customentities[i].y >= (ed.levy + 1) * 30)
|
||||
if (customentities[i].rx != ed.levx || customentities[i].ry != ed.levy)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue