diff --git a/src/Murder/Assets/Graphics/TilesetAsset.cs b/src/Murder/Assets/Graphics/TilesetAsset.cs index 59beb7ce..e32a7a33 100644 --- a/src/Murder/Assets/Graphics/TilesetAsset.cs +++ b/src/Murder/Assets/Graphics/TilesetAsset.cs @@ -98,17 +98,17 @@ public void CalculateAndDrawAutoTile(RenderContext render, int x, int y, bool to // Top Left Inside Corner if (topLeft && topRight && botLeft && !botRight) - DrawTile(batch, x, y, 1, 3, alpha, color, blend, -1); + DrawTile(batch, x, y, 1, 3, alpha, color, blend, 1); // Top Right Inside Corner if (topLeft && topRight && !botLeft && botRight) - DrawTile(batch, x, y, 2, 3, alpha, color, blend, -1); + DrawTile(batch, x, y, 2, 3, alpha, color, blend, 1); - // Top Left Inside Corner + // Bottom Left Inside Corner if (topLeft && !topRight && botLeft && botRight) DrawTile(batch, x, y, 1, 4, alpha, color, blend, 1); - // Top Right Inside Corner + // Bottom Right Inside Corner if (!topLeft && topRight && botLeft && botRight) DrawTile(batch, x, y, 2, 4, alpha, color, blend, 1); diff --git a/src/Murder/Services/TileServices.cs b/src/Murder/Services/TileServices.cs index 5ee14c5f..731d80ee 100644 --- a/src/Murder/Services/TileServices.cs +++ b/src/Murder/Services/TileServices.cs @@ -76,17 +76,17 @@ public static (int tile, int sortAdjust) GetAutoTile(bool topLeft, bool topRight // Top Left Inside Corner if (topLeft && topRight && botLeft && !botRight) - return (Calculator.OneD(1, 3, 3), -1); + return (Calculator.OneD(1, 3, 3), 1); // Top Right Inside Corner if (topLeft && topRight && !botLeft && botRight) - return (Calculator.OneD(2, 3, 3), -1); + return (Calculator.OneD(2, 3, 3), 1); - // Top Left Inside Corner + // Bottom Left Inside Corner if (topLeft && !topRight && botLeft && botRight) return (Calculator.OneD(1, 4, 3), 1); - // Top Right Inside Corner + // Bottom Right Inside Corner if (!topLeft && topRight && botLeft && botRight) return (Calculator.OneD(2, 4, 3), 1);