diff options
Diffstat (limited to 'src/gfx2d.c')
-rw-r--r-- | src/gfx2d.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfx2d.c b/src/gfx2d.c index 266a5f7..f609c98 100644 --- a/src/gfx2d.c +++ b/src/gfx2d.c | |||
@@ -263,6 +263,8 @@ void gfx2d_make_map(Gfx2d* gfx, const MapDesc* desc) { | |||
263 | .base_tile_width = desc->tile_width, | 263 | .base_tile_width = desc->tile_width, |
264 | .base_tile_height = desc->tile_height, | 264 | .base_tile_height = desc->tile_height, |
265 | .num_layers = 1, | 265 | .num_layers = 1, |
266 | .flags = | ||
267 | (desc->orientation == MapOrthogonal) ? Tm_Orthogonal : Tm_Isometric, | ||
266 | }; | 268 | }; |
267 | 269 | ||
268 | gfx->tileset = memstack_alloc_aligned(&gfx->stack, tileset_size_bytes, 4); | 270 | gfx->tileset = memstack_alloc_aligned(&gfx->stack, tileset_size_bytes, 4); |