light: workaround weird syntax error

This commit is contained in:
Eric Wasylishen 2016-07-07 00:07:01 -06:00
parent 5b26bc4709
commit 1f4d20ee04
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ Entities_Insert(entity_t *entity)
static entity_t *
DuplicateEntity(const entity_t *src)
{
entity_t *entity = new entity_t {*src};
entity_t *entity = new entity_t(*src);
/* also insert into the entity list */
entity->next = NULL;