Fix code analysis warnings
This commit is contained in:
parent
aaf9325f07
commit
d6a9bdfc65
@ -136,7 +136,7 @@ namespace Components
|
||||
surfs->numSurfaces = newSurfs->numSurfaces;
|
||||
|
||||
model->lods[i].surfs = newSurfs->surfaces;
|
||||
std::memcpy(model->lods[i].partBits, newSurfs->pad, 24);
|
||||
std::memcpy(&model->lods[i].partBits, newSurfs->pad, 24);
|
||||
|
||||
short numSurfs = static_cast<short>(newSurfs->numSurfaces);
|
||||
model->lods[i].numSurfs = numSurfs;
|
||||
|
Loading…
Reference in New Issue
Block a user