summaryrefslogtreecommitdiff
path: root/src/render.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-10-21 14:46:35 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-10-21 14:46:35 +0200
commitee017fb5def1c4d372a664e5e64210ed0cd52174 (patch)
treee3c39a8a049b2a1c254ec13d6996c1bdb8bceaff /src/render.cpp
parentf08fb7293382dbaf240860119d128486ada62221 (diff)
Slightly more interesting world generation.
Diffstat (limited to 'src/render.cpp')
-rw-r--r--src/render.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render.cpp b/src/render.cpp
index 87f4216..907dcf0 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -28,6 +28,9 @@ static void draw_tile(sf::RenderWindow *window, v2f_t x, world::tile_t *tile)
case 3:
color = sf::Color(29, 190, 45);
break;
+ case 4:
+ color = sf::Color(120, 120, 120);
+ break;
default:
;
}