mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
Texture data overlap occuring here, using memmove instead.
This commit is contained in:
parent
9d2b7e560b
commit
1e11ce3bee
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ void FMultiPatchTexture::ResolvePatches()
|
|||
{
|
||||
if (Parts[i].Texture == nullptr)
|
||||
{
|
||||
memcpy(&Parts[i], &Parts[i + 1], (NumParts - i - 1) * sizeof(TexPart));
|
||||
memmove(&Parts[i], &Parts[i + 1], (NumParts - i - 1) * sizeof(TexPart));
|
||||
i--;
|
||||
NumParts--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue