Upgraded to the latest winlibs/gcc 14.

This commit is contained in:
Zed A. Shaw 2024-12-20 16:53:03 -05:00
parent 5a6494acf5
commit 290affa49a
11 changed files with 20 additions and 13 deletions

View file

@ -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'.';
}
}