Fixed more issues with character

This commit is contained in:
MH261677 2024-02-06 14:51:40 +00:00
parent 089b680fe4
commit ac04c62f7d
2 changed files with 0 additions and 6 deletions

View File

@ -10,7 +10,6 @@
<list default="true" id="dfa3053d-1d51-4dad-9270-4c17e086f627" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.EndlessVendetta/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.EndlessVendetta/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Source/EndlessVendetta/EndlessVendettaCharacter.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/Source/EndlessVendetta/EndlessVendettaCharacter.cpp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Source/EndlessVendetta/EndlessVendettaCharacter.h" beforeDir="false" afterPath="$PROJECT_DIR$/Source/EndlessVendetta/EndlessVendettaCharacter.h" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@ -462,7 +462,6 @@ void AEndlessVendettaCharacter::WeaponSwitcher(AActor* Outhit)
}
bIsWeaponPickedUp = true;
PrimaryWeaponClass = Outhit->GetClass();
UEVGameInstance* GI = Cast<UEVGameInstance>(GetGameInstance());
if (IsValid(GI->MainSaveGameInstanceRef))
{
@ -473,10 +472,6 @@ void AEndlessVendettaCharacter::WeaponSwitcher(AActor* Outhit)
Outhit->Destroy();
EquipPrimary();
if (bIsCurrentlyHoldingWeapon)
{
//do stuff here
}
}
if (Outhit->ActorHasTag("SecondaryWeapon"))
{