From c75c9a7170eee423d4b8c654867e1f3d7e1e84bc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 16 Mar 2022 20:23:40 -0400 Subject: signs are more common and also quieter --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game.cpp b/src/game.cpp index 5838528..088ab4d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -276,7 +276,7 @@ void Game::recalculateRender() { if (isTileSetOrNotLit(map, x-1, y+1)) renderDesc |= (1 << 1); if (isTileSetOrNotLit(map, x-1, y )) renderDesc |= (1 << 0); - if (renderDesc == 0 && map.at(x,y).sign) { + if (/*renderDesc == 0 && */map.at(x,y).sign) { map.at(x,y).renderId = TilesetIndex(24, 13); } else if (std::bernoulli_distribution(0.05)(rng)) { static const std::vector furnishings { @@ -286,7 +286,7 @@ void Game::recalculateRender() { TilesetIndex(21, 3), TilesetIndex(22, 3)}; - if (renderDesc == 0 && !(x == player_x && y == player_y) && std::bernoulli_distribution(0.2)(rng)) { + if (/*renderDesc == 0 &&*/ !(x == player_x && y == player_y) && std::bernoulli_distribution(0.005)(rng)) { map.at(x,y).renderId = TilesetIndex(24, 13); map.at(x,y).sign = true; } else { -- cgit 1.4.1