diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-16 10:10:10 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-16 10:10:10 +0200 |
| commit | fa7b6b01b68ad3934734e67b65d31d0d4ccfa0a6 (patch) | |
| tree | d6cc530489e0dbe677f6916685f65ab208cd2356 /src/map.c | |
| parent | 197958d8e7f539de6b1da937fddbbbfcf167a73b (diff) | |
temp
Diffstat (limited to 'src/map.c')
| -rw-r--r-- | src/map.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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; + } } } |
