Removed unused walker_name var
This commit is contained in:
parent
fbb1cafcfb
commit
ab34056301
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue