mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 03:55:44 -04:00
Update legomodelpresenter.cpp (#265)
* Update legomodelpresenter.cpp * Update legopartpresenter.cpp
This commit is contained in:
parent
5be9b09b40
commit
897700c19a
@ -98,7 +98,7 @@ MxResult LegoModelPresenter::CreateROI(MxDSChunk* p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
memmove(textureName, textureName + 1, strlen(textureName));
|
||||
|
||||
if (g_modelPresenterConfig) {
|
||||
texture = new LegoTexture();
|
||||
|
@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
memmove(textureName, textureName + 1, strlen(textureName));
|
||||
|
||||
if (g_partPresenterConfig1) {
|
||||
texture = new LegoTexture();
|
||||
|
Loading…
x
Reference in New Issue
Block a user