From fa7b6b01b68ad3934734e67b65d31d0d4ccfa0a6 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 16 May 2024 10:10:10 +0200 Subject: temp --- src/map.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index 5beb136..9e0e7cd 100644 --- a/src/map.c +++ b/src/map.c @@ -275,11 +275,19 @@ void load_mapdata_into_world() { if (o.type == OBJECT_ZOMBIE_SPAWNER) { create_spawner((vec2){.x = o.position.x, .y = o.position.y}); + loaded_map.objects[i].active = 0; } if (o.type == OBJECT_GLASS_DOOR_H || o.type == OBJECT_GLASS_DOOR_V) { create_glass_door(o); - } + loaded_map.objects[i].active = 0; + } + + if (o.type == OBJECT_BOWLING_LANE) + { + add_decoration_object(o); + loaded_map.objects[i].active = 0; + } } } -- cgit v1.2.3-70-g09d2