summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-26 18:34:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-26 18:34:03 +0100
commite8dc8c27155afade10310c84678959f2d7456641 (patch)
tree84ba00a0cbab8b8fed9066e2afec38731910a5d7 /serialize
parent1831299cd2b747cbb53eaa149c9f7a41ae1cd111 (diff)
wip
Diffstat (limited to 'serialize')
-rw-r--r--serialize/scenery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/serialize/scenery.cpp b/serialize/scenery.cpp
index b86f0225..4eeb95f7 100644
--- a/serialize/scenery.cpp
+++ b/serialize/scenery.cpp
@@ -144,7 +144,8 @@ void adl_serializer<scenery_proto>::from_json(const json& j, scenery_proto& val)
Vector2b(offset), Vector2b(bbox_offset), Vector2ub(bbox_size) };
break;
case scenery_type::door:
- f = { scenery::door, *val.atlas, r, false, Vector2b(offset) };
+ f = { scenery::door, *val.atlas, r, false,
+ Vector2b(offset), Vector2b(bbox_offset), Vector2ub(bbox_size), };
}
}