diff --git a/Source/ThisWillWork/MyCustomActorFinder.cpp b/Source/ThisWillWork/MyCustomActorFinder.cpp index ef9d3bfb..3d5c5bcb 100644 --- a/Source/ThisWillWork/MyCustomActorFinder.cpp +++ b/Source/ThisWillWork/MyCustomActorFinder.cpp @@ -6,7 +6,7 @@ #include "GameFramework/Actor.h" #include "EngineUtils.h" -AActor* MyCustomActorFinder::FindActorByName(const FString& ActorName) +AActor* AMyCustomActorFinder::FindActorByName(const FString& ActorName) { for (TActorIterator It(GetWorld()); It; ++It) { diff --git a/Source/ThisWillWork/MyCustomActorFinder.h b/Source/ThisWillWork/MyCustomActorFinder.h index d0ee8745..51014899 100644 --- a/Source/ThisWillWork/MyCustomActorFinder.h +++ b/Source/ThisWillWork/MyCustomActorFinder.h @@ -7,7 +7,7 @@ #include "MyCustomActorFinder.generated.h" UCLASS() -class GAMEIDEAV5_5_API AMyCustomActorFinder : public AActor +class THISWILLWORK_API AMyCustomActorFinder : public AActor { GENERATED_BODY()