mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +03:00
Allow placing warp token destination in walls
Staying consistent with how entities can now be placed in walls, the warp token destination should follow this as well.
This commit is contained in:
1 parent
08084e5a97
commit
045ce3a0fc
1 file changed
+5
-8
@@ -2988,16 +2988,13 @@ void editorinput(void)
|
||||
{
|
||||
if (ed.lclickdelay == 0)
|
||||
{
|
||||
if (ed.free(ed.tilex, ed.tiley) == 0)
|
||||
{
|
||||
customentities[ed.warp_token_entity].p1 = ed.tilex + (ed.levx * 40);
|
||||
customentities[ed.warp_token_entity].p2 = ed.tiley + (ed.levy * 30);
|
||||
customentities[ed.warp_token_entity].p1 = ed.tilex + (ed.levx * 40);
|
||||
customentities[ed.warp_token_entity].p2 = ed.tiley + (ed.levy * 30);
|
||||
|
||||
ed.substate = EditorSubState_MAIN;
|
||||
ed.substate = EditorSubState_MAIN;
|
||||
|
||||
ed.warp_token_entity = -1;
|
||||
ed.lclickdelay = 1;
|
||||
}
|
||||
ed.warp_token_entity = -1;
|
||||
ed.lclickdelay = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user