Skip to content

Commit

Permalink
remove invalid comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Aug 31, 2024
1 parent 2dd25e4 commit 959cf04
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/drlg_l4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,6 @@ static void ValidateSEConnection(int x, int y)

/*
* Draw wall around the tiles selected by L4FirstRoom (and L4ConnectBlock).
* Assumes the border of dungeon was empty.
* New dungeon values: 4 .. 29 except 20
*/
static void L4TileFix()
Expand Down Expand Up @@ -1203,7 +1202,6 @@ static void L4Block2Dungeon()

/*
* Create link between the quarters (blocks) of the dungeon.
* Assumes the border of dungBlock to be empty.
*/
static void L4ConnectBlock()
{
Expand Down Expand Up @@ -1392,7 +1390,7 @@ static void L4RoomGen(int x, int y, int w, int h, bool dir)
}
// try to place a room to the right
rxy2 = x + w;
while(true) {
while (true) {
if (L4CheckVHall(rxy2 - 1, ry - 1, height + 2)
&& L4CheckRoom(rxy2, ry - 1, width + 1, height + 2)) {
// - add room to the right
Expand Down Expand Up @@ -1436,7 +1434,7 @@ static void L4RoomGen(int x, int y, int w, int h, bool dir)
}
// try to place a room to the bottom
rxy2 = y + h;
while(true) {
while (true) {
if (L4CheckHHall(rxy2 - 1, rx - 1, width + 2)
&& L4CheckRoom(rx - 1, rxy2, width + 2, height + 1)) {
// - add room to the bottom
Expand Down

0 comments on commit 959cf04

Please sign in to comment.