Upgraded to the latest winlibs/gcc 14.
This commit is contained in:
parent
5a6494acf5
commit
290affa49a
11 changed files with 20 additions and 13 deletions
|
@ -135,7 +135,9 @@ void WorldBuilder::generate() {
|
|||
}
|
||||
|
||||
for(matrix::each_cell it{$map.$walls}; it.next();) {
|
||||
$map.$walls[it.y][it.x] = !$map.$walls[it.y][it.x];
|
||||
int is_wall = !$map.$walls[it.y][it.x];
|
||||
$map.$walls[it.y][it.x] = is_wall;
|
||||
$map.$tiles[it.y][it.x] = is_wall ? L'#' : L'.';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue