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