Allow using Space Station tilecol -1

This tilecol conveniently lets players use one of the unpatterned Space
Station tilesets you see on the left side of tiles.png but never get to
use without Direct Mode.

It does have a few weird quirks, but it should be safe to use.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-01 23:49:23 -04:00
1 parent e8cf521ed7
commit 5132ccf1e6
1 file changed
+7 -1
+7 -1
View File
@@ -1686,9 +1686,15 @@ void editorclass::clamp_tilecol(const int rx, const int ry, const bool wrap /*=
const int tileset = room.tileset;
int tilecol = room.tilecol;
int mincol = 0;
int mincol = -1;
int maxcol = 5;
// Only Space Station allows tileset -1
if (tileset != 0)
{
mincol = 0;
}
switch (tileset)
{
case 0: