summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c10
1 files changed, 9 insertions, 1 deletions
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;
+ }
}
}