summaryrefslogtreecommitdiff
path: root/src/objects.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 09:50:23 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 09:50:23 +0200
commit197958d8e7f539de6b1da937fddbbbfcf167a73b (patch)
tree57c85c2e07e4be95e0b1ec0e8dd303d8b82b7921 /src/objects.c
parente2fb2bc2072f7d404a1c1664836d25b84b6fad03 (diff)
more doors & disco floor
Diffstat (limited to 'src/objects.c')
-rw-r--r--src/objects.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objects.c b/src/objects.c
index c6788db..371040b 100644
--- a/src/objects.c
+++ b/src/objects.c
@@ -167,6 +167,8 @@ image* get_image_from_objecttype(object_type tile) {
return img_bowling_lane;
case OBJECT_BOWLING_LANE_END:
return img_bowling_lane_end;
+ case OBJECT_GLASS_DOOR_V:
+ return img_glass_door_v_closed;
default:
return 0;
}
@@ -181,6 +183,7 @@ void draw_objects(platform_window* window) {
object o = loaded_map.objects[i];
if (o.type == OBJECT_GLASS_DOOR_H) continue;
+ if (o.type == OBJECT_GLASS_DOOR_V) continue;
box box = get_box_of_object(window, o);