Remove assigning of spawned Throwable
This commit is contained in:
parent
ca617a8a3c
commit
b234045698
|
@ -664,7 +664,7 @@ void APlayerCharacter::ThrowExplosiveCallback()
|
||||||
SpawnLocation += (25.0f * GetActorForwardVector());
|
SpawnLocation += (25.0f * GetActorForwardVector());
|
||||||
SpawnLocation.Z += BoxExtent.Z;
|
SpawnLocation.Z += BoxExtent.Z;
|
||||||
|
|
||||||
AThrowable* Throwable = GetWorld()->SpawnActor<AThrowable>(ThrowableInventory.Pop(), SpawnLocation, FRotator::ZeroRotator);
|
GetWorld()->SpawnActor<AThrowable>(ThrowableInventory.Pop(), SpawnLocation, FRotator::ZeroRotator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue