Bugfix Dialogue Skipping Too Far on Click
This commit is contained in:
parent
7ae5c1f349
commit
d1caa3d8d4
BIN
EndlessVendetta/Content/Dialogue/BP_DialogueUI.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/Dialogue/BP_DialogueUI.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/Levels/EnemyAITest.umap
(Stored with Git LFS)
BIN
EndlessVendetta/Content/Levels/EnemyAITest.umap
(Stored with Git LFS)
Binary file not shown.
@ -63,10 +63,6 @@
|
||||
"Name": "MixamoAnimationRetargeting",
|
||||
"Enabled": true,
|
||||
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/c684998124da4e2583b314dc95403a80"
|
||||
},
|
||||
{
|
||||
"Name": "RigLogic",
|
||||
"Enabled": true
|
||||
}
|
||||
]
|
||||
}
|
@ -176,7 +176,7 @@ public:
|
||||
UPROPERTY(BlueprintAssignable, Category = "Weapons")
|
||||
FSuccessfulHitEvent SuccessfulHitEvent;
|
||||
|
||||
void SuccessfulHit(bool bIsHeadshot) const;
|
||||
void SuccessfulHit(bool bIsHeadshot = false) const;
|
||||
|
||||
protected:
|
||||
virtual void BeginPlay() override;
|
||||
|
@ -210,14 +210,14 @@ void ABaseWeaponClass::Fire()
|
||||
}
|
||||
else
|
||||
{
|
||||
endlessVendettaChar->SuccessfulHit(false);
|
||||
endlessVendettaChar->SuccessfulHit();
|
||||
}
|
||||
Cast<AAICharacter>(outHit.GetActor())->TakeDamage(tempWeaponDamage, FPointDamageEvent(), GetWorld()->GetFirstPlayerController(), this);
|
||||
}
|
||||
if (ATargetDummy* TargetDummy = Cast<ATargetDummy>(outHit.GetActor()))
|
||||
{
|
||||
TargetDummy->TargetShot();
|
||||
endlessVendettaChar->SuccessfulHit(false);
|
||||
endlessVendettaChar->SuccessfulHit();
|
||||
}
|
||||
}
|
||||
HideNeedReloadUI();
|
||||
|
Loading…
x
Reference in New Issue
Block a user