Remove assigning of spawned Throwable

This commit is contained in:
baz 2023-10-15 20:00:56 +01:00
parent ca617a8a3c
commit b234045698
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ void APlayerCharacter::ThrowExplosiveCallback()
SpawnLocation += (25.0f * GetActorForwardVector());
SpawnLocation.Z += BoxExtent.Z;
AThrowable* Throwable = GetWorld()->SpawnActor<AThrowable>(ThrowableInventory.Pop(), SpawnLocation, FRotator::ZeroRotator);
GetWorld()->SpawnActor<AThrowable>(ThrowableInventory.Pop(), SpawnLocation, FRotator::ZeroRotator);
}
}