Skip to content

Commit 0978c60

Browse files
TeamSpen210craftablescience
authored andcommitted
dmxpp: DMX string arrays are always inline, they don't use the table
1 parent 3dc8100 commit 0978c60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dmxpp/dmxpp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ bool DMX::openBinary(BufferStream& stream) {
154154
auto size = reader.read<uint32_t>();
155155
out.reserve(size);
156156
for (int i = 0; i < size; i++) {
157-
out.push_back(std::get<T>(readValue(reader, Value::arrayIDToInnerID(type_), true)));
157+
// String arrays are always inline.
158+
out.push_back(std::get<T>(readValue(reader, Value::arrayIDToInnerID(type_), false)));
158159
}
159160
return out;
160161
};

0 commit comments

Comments
 (0)