remove const on external_worldspawn so it can be moved
This commit is contained in:
parent
627428756c
commit
2a90995c6f
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue