mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 10:41:15 +00:00
Fix UBSAN warning when starting the jetski race (#263)
This commit is contained in:
parent
f3a4d8fcb5
commit
59105d74f8
@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
strcpy(textureName, textureName + 1);
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
|
||||
if (g_partPresenterConfig1) {
|
||||
texture = new LegoTexture();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user