Updated TempCharacter.cpp
Fixed the tracedistance not defaulting back once the player exits the shop
This commit is contained in:
parent
355dd06aae
commit
e15a7076c4
@ -150,6 +150,7 @@ void ATempCharacter::InputEnabler()
|
||||
GetWorld()->GetFirstPlayerController()->bShowMouseCursor = false;
|
||||
GetWorld()->GetFirstPlayerController()->bEnableClickEvents = false;
|
||||
GetWorld()->GetFirstPlayerController()->bEnableMouseOverEvents = false;
|
||||
TraceDistance = 200;
|
||||
ThisCamera = Cast<UCameraComponent>(this->FindComponentByClass<UCameraComponent>());
|
||||
if (ThisCamera == nullptr)
|
||||
{
|
||||
|
@ -69,6 +69,7 @@ public:
|
||||
|
||||
int OriginalCameraFOV;
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category= "Items")
|
||||
void BuyItem();
|
||||
UFUNCTION(BlueprintCallable, Category= "Items")
|
||||
void BuyItem();
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user