diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-05-01 14:41:31 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-05-01 14:41:31 +0200 |
| commit | 7338fe068fb4081938ca6530cd761a607a9c8ce9 (patch) | |
| tree | d276bf71821a4446713d71445e9a6c32152913a6 /src/map.c | |
| parent | b694a83655d97bb93318c4523a40c1915f3c05ee (diff) | |
icons
Diffstat (limited to 'src/map.c')
| -rw-r--r-- | src/map.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; } } |
