Fix im GenerationProcessor
stein neben wand ging nicht gut
This commit is contained in:
parent
e7f360d284
commit
9a3032a61a
1 changed files with 4 additions and 4 deletions
|
@ -84,16 +84,16 @@ public class GenerationProcessor {
|
|||
switch ( type ) {
|
||||
case ExtendedTileType.BorderSingle:
|
||||
Vector2Int toCheck = v + new Vector2Int(0, -1);
|
||||
if(tiles.ContainsKey(toCheck) && (tiles[toCheck].type != Room.TileType.WALL)
|
||||
if(tiles.ContainsKey(toCheck) && tiles[toCheck].type != Room.TileType.WALL)
|
||||
return 0;
|
||||
toCheck = v + new Vector2Int(-1, 0);
|
||||
if(tiles.ContainsKey(toCheck) && (tiles[toCheck].type != Room.TileType.WALL)
|
||||
if(tiles.ContainsKey(toCheck) && tiles[toCheck].type != Room.TileType.WALL)
|
||||
return 270;
|
||||
toCheck = v + new Vector2Int(0, 1);
|
||||
if(tiles.ContainsKey(toCheck) && (tiles[toCheck].type != Room.TileType.WALL)
|
||||
if(tiles.ContainsKey(toCheck) && tiles[toCheck].type != Room.TileType.WALL)
|
||||
return 180;
|
||||
toCheck = v + new Vector2Int(1, 0);
|
||||
if(tiles.ContainsKey(toCheck) && (tiles[toCheck].type != Room.TileType.WALL)
|
||||
if(tiles.ContainsKey(toCheck) && tiles[toCheck].type != Room.TileType.WALL)
|
||||
return 90;
|
||||
break;
|
||||
case ExtendedTileType.BorderInner:
|
||||
|
|
Loading…
Add table
Reference in a new issue