summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-05-01 14:41:31 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-05-01 14:41:31 +0200
commit7338fe068fb4081938ca6530cd761a607a9c8ce9 (patch)
treed276bf71821a4446713d71445e9a6c32152913a6 /src/map.c
parentb694a83655d97bb93318c4523a40c1915f3c05ee (diff)
icons
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;
}
}