mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 00:01:37 -07:00
Fix build
This commit is contained in:
@@ -800,8 +800,8 @@ bool FCogWindowWidgets::ActorsList(const UWorld& World, const TSubclassOf<AActor
|
||||
bool AddActor = true;
|
||||
if (Filter != nullptr && Filter->IsActive())
|
||||
{
|
||||
const char* ActorName = TCHAR_TO_ANSI(*FCogWindowHelper::GetActorName(*Actor));
|
||||
if (Filter != nullptr && Filter->PassFilter(ActorName) == false)
|
||||
const auto ActorName = StringCast<ANSICHAR>(*FCogWindowHelper::GetActorName(*Actor));
|
||||
if (Filter != nullptr && Filter->PassFilter(ActorName.Get()) == false)
|
||||
{
|
||||
AddActor = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user