[Zone🅱️uilder]: Remove + 1

This commit is contained in:
FutureRave 2022-12-01 15:01:30 +00:00
parent ee2d12e404
commit 0156f106b9
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -519,7 +519,7 @@ namespace Components
void ZoneBuilder::Zone::addBranding()
{
constexpr auto* data = "Built using the IW4x Zone:B:uilder Version 4";
auto dataLen = std::strlen(data) + 1;
auto dataLen = std::strlen(data); // + 1 is added by the save code
this->branding = { this->zoneName.data(), 0, static_cast<int>(dataLen), data };