diff options
Diffstat (limited to 'serialize/world-reader.cpp')
-rw-r--r-- | serialize/world-reader.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp index e108747e..4f31b88b 100644 --- a/serialize/world-reader.cpp +++ b/serialize/world-reader.cpp @@ -177,6 +177,16 @@ void reader_state::read_chunks(reader_t& s) sc.frame.offset[0] << s; sc.frame.offset[1] << s; } + if (PROTO >= 6) [[likely]] + { + sc.frame.bbox_size[0] << s; + sc.frame.bbox_size[1] << s; + } + if (PROTO >= 7) [[likely]] + { + sc.frame.bbox_offset[0] << s; + sc.frame.bbox_offset[1] << s; + } if (sc.frame.active) { if (PROTO >= 4) [[likely]] |