remove const on external_worldspawn so it can be moved

This commit is contained in:
Jonathan 2022-08-04 15:39:57 -04:00
parent 627428756c
commit 2a90995c6f
1 changed files with 1 additions and 1 deletions

View File

@ -2059,7 +2059,7 @@ void ProcessExternalMapEntity(mapentity_t *entity)
Q_assert(0 == entity->mapbrushes.size()); // misc_external_map must be a point entity
const mapentity_t external_worldspawn = LoadExternalMap(file);
mapentity_t external_worldspawn = LoadExternalMap(file);
// copy the brushes into the target
entity->mapbrushes = std::move(external_worldspawn.mapbrushes);