summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 10:10:10 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 10:10:10 +0200
commitfa7b6b01b68ad3934734e67b65d31d0d4ccfa0a6 (patch)
treed6cc530489e0dbe677f6916685f65ab208cd2356 /src/map.c
parent197958d8e7f539de6b1da937fddbbbfcf167a73b (diff)
temp
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;
+ }
}
}