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

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