diff --git a/common/lc_synth.cpp b/common/lc_synth.cpp index 0941759b..73d752a7 100644 --- a/common/lc_synth.cpp +++ b/common/lc_synth.cpp @@ -618,13 +618,13 @@ void lcSynthInfo::AddShockAbsorberParts(lcMemFile& File, lcArray& Se float Scale = (Distance - 66.0f) / 44.0f; const char* SpringPart; - if (!stricmp(mPieceInfo->mFileName, "73129.dat")) + if (!qstricmp(mPieceInfo->mFileName, "73129.dat")) SpringPart = "70038"; - else if (!stricmp(mPieceInfo->mFileName, "41838")) + else if (!qstricmp(mPieceInfo->mFileName, "41838")) SpringPart = "41837"; - else if (!stricmp(mPieceInfo->mFileName, "76138")) + else if (!qstricmp(mPieceInfo->mFileName, "76138")) SpringPart = "71953"; - else if (!stricmp(mPieceInfo->mFileName, "76537")) + else if (!qstricmp(mPieceInfo->mFileName, "76537")) SpringPart = "22977"; else return; diff --git a/common/minifig.cpp b/common/minifig.cpp index 494e60e3..b5d1fc88 100644 --- a/common/minifig.cpp +++ b/common/minifig.cpp @@ -364,8 +364,8 @@ void MinifigWizard::Calculate() float* Angles = mMinifig.Angles; lcMatrix44* Matrices = mMinifig.Matrices; - bool DroidTorso = Parts[LC_MFW_BODY] && !stricmp(Parts[LC_MFW_BODY]->mFileName, "30375.dat"); - bool SkeletonTorso = Parts[LC_MFW_BODY] && !stricmp(Parts[LC_MFW_BODY]->mFileName, "6260.dat"); + bool DroidTorso = Parts[LC_MFW_BODY] && !qstricmp(Parts[LC_MFW_BODY]->mFileName, "30375.dat"); + bool SkeletonTorso = Parts[LC_MFW_BODY] && !qstricmp(Parts[LC_MFW_BODY]->mFileName, "6260.dat"); if (Parts[LC_MFW_BODY3]) Root = lcMatrix44Translation(lcVector3(0, 0, 74.0f));