summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map.c b/src/map.c
index 499bf60..2f6b6b0 100644
--- a/src/map.c
+++ b/src/map.c
@@ -197,10 +197,9 @@ bool is_in_bounds(float x, float y) {
image* get_image_from_tiletype(tile_type tile) {
switch (tile)
{
- case TILE_COBBLESTONE1:
- return img_tile_cobblestone;
- default:
- return 0;
+ case TILE_COBBLESTONE1: return img_tile_cobblestone;
+ case TILE_GRASS1: return img_tile_grass1;
+ default: return 0;
}
}