Removed unused walker_name var

This commit is contained in:
juaxix 2018-04-04 17:26:40 +02:00
parent fbb1cafcfb
commit ab34056301
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ void AWalkerSpawnerBase::Tick(float DeltaTime)
{
// Check one walker, if fails black-list it or kill it.
CurrentWalkerIndexToCheck = ++CurrentWalkerIndexToCheck % Walkers.Num();
auto Walker = Walkers[CurrentWalkerIndexToCheck];
const char* walker_name = TCHAR_TO_UTF8(*UKismetSystemLibrary::GetDisplayName(Walker));
auto Walker = Walkers[CurrentWalkerIndexToCheck];
if(Walker == nullptr || !IsValid(Walker))
{
Walkers.RemoveAtSwap(CurrentWalkerIndexToCheck);