QDENGINE: Add missing newline in parallax_offset in XML output

This commit is contained in:
Eugene Sandulenko 2024-08-24 13:30:00 +02:00
parent 58273a44cb
commit a6c72e8ea0
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -100,7 +100,7 @@ bool qdGameObject::save_script_body(Common::WriteStream &fh, int indent) const {
for (int i = 0; i <= indent; i++) {
fh.writeString("\t");
}
fh.writeString(Common::String::format("<parallax_offset>%d %d</parallax_offset>", _parallax_offset.x, _parallax_offset.y));
fh.writeString(Common::String::format("<parallax_offset>%d %d</parallax_offset>\r\n", _parallax_offset.x, _parallax_offset.y));
}
if (flags()) {