Static analysis fixes.

This commit is contained in:
Leonardo Zide
2021-11-14 18:34:24 -08:00
parent 5d558b38bb
commit 7d884e6b5f
34 changed files with 365 additions and 333 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ void lcPartSelectionListModel::RequestPreview(int InfoIndex)
PieceInfo* Info = mParts[InfoIndex].first;
lcGetPiecesLibrary()->LoadPieceInfo(Info, false, false);
if (Info->mState == LC_PIECEINFO_LOADED)
if (Info->mState == lcPieceInfoState::Loaded)
DrawPreview(InfoIndex);
else
mRequestedPreviews.push_back(InfoIndex);