mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move copying of the nodes signature out of the else case
This commit is contained in:
parent
464c2b04de
commit
ac6c61e419
1 changed files with 4 additions and 4 deletions
|
|
@ -1509,11 +1509,11 @@ static nodetype_t P_GetNodetype(const virtres_t *virt, virtlump_t *virtnodes)
|
|||
virtnodes = vres_Find(virt, "NODES");
|
||||
supported[NT_XNOD] = supported[NT_ZNOD] = true;
|
||||
}
|
||||
}
|
||||
|
||||
M_Memcpy(signature, virtnodes->data, 4);
|
||||
signature[4] = '\0';
|
||||
virtnodes->data += 4;
|
||||
}
|
||||
|
||||
if (!strcmp(signature, "XNOD"))
|
||||
nodetype = NT_XNOD;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue