D to delete smarttile in map editor

This commit is contained in:
stevenhowes
2021-05-12 21:18:35 +01:00
parent 002b3562f8
commit b2e61ab8ca
3 changed files with 11 additions and 0 deletions
+11
View File
@@ -347,6 +347,17 @@ void game2_tick_input()
}
}
// D - Delete SmartTile
if(input_readkey(50))
{
if(tick > readmodkey)
{
SmartTiles[selectedsmart].Tile = -1;
readmodkey = tick + 50;
}
}
// C - Create smart tile
if(input_readkey(82))
{