diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() { | |||
276 | if (isTileSetOrNotLit(map, x-1, y+1)) renderDesc |= (1 << 1); | 276 | if (isTileSetOrNotLit(map, x-1, y+1)) renderDesc |= (1 << 1); |
277 | if (isTileSetOrNotLit(map, x-1, y )) renderDesc |= (1 << 0); | 277 | if (isTileSetOrNotLit(map, x-1, y )) renderDesc |= (1 << 0); |
278 | 278 | ||
279 | if (renderDesc == 0 && map.at(x,y).sign) { | 279 | if (/*renderDesc == 0 && */map.at(x,y).sign) { |
280 | map.at(x,y).renderId = TilesetIndex(24, 13); | 280 | map.at(x,y).renderId = TilesetIndex(24, 13); |
281 | } else if (std::bernoulli_distribution(0.05)(rng)) { | 281 | } else if (std::bernoulli_distribution(0.05)(rng)) { |
282 | static const std::vector<int> furnishings { | 282 | static const std::vector<int> furnishings { |
@@ -286,7 +286,7 @@ void Game::recalculateRender() { | |||
286 | TilesetIndex(21, 3), | 286 | TilesetIndex(21, 3), |
287 | TilesetIndex(22, 3)}; | 287 | TilesetIndex(22, 3)}; |
288 | 288 | ||
289 | if (renderDesc == 0 && !(x == player_x && y == player_y) && std::bernoulli_distribution(0.2)(rng)) { | 289 | if (/*renderDesc == 0 &&*/ !(x == player_x && y == player_y) && std::bernoulli_distribution(0.005)(rng)) { |
290 | map.at(x,y).renderId = TilesetIndex(24, 13); | 290 | map.at(x,y).renderId = TilesetIndex(24, 13); |
291 | map.at(x,y).sign = true; | 291 | map.at(x,y).sign = true; |
292 | } else { | 292 | } else { |