Skip to content

Commit c1a8d9d

Browse files
committedMar 20, 2025
added const
1 parent acba6e6 commit c1a8d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Source/ProgressionSystemRuntime/Private/Components/PSSpotComponent.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void UPSSpotComponent::TryRestorePlayerSkin()
9999
// find last unlocked skin
100100
for (int32 Count = CurrentSkinIndex; Count >= 0; Count--)
101101
{
102-
bool bIsLastUnlockedFound = Count > 0 ? MeshComp.IsSkinAvailable(Count) : bIsCurrentSkinAvailable = true;
102+
const bool bIsLastUnlockedFound = Count > 0 ? MeshComp.IsSkinAvailable(Count) : bIsCurrentSkinAvailable = true;
103103

104104
if (bIsLastUnlockedFound)
105105
{
@@ -162,7 +162,7 @@ void UPSSpotComponent::RefreshAmountOfUnlockedSkins(bool bApplySkin)
162162
{
163163
return;
164164
}
165-
165+
166166
UMySkeletalMeshComponent& SpotMeshComponent = GetMeshChecked();
167167
const int32 UnlockedSkinsAmount = UPSWorldSubsystem::Get().GetCurrentSaveToDiskRowByName().UnlockedSkinsAmount;
168168

0 commit comments

Comments
 (0)