Remove unneccessary spawnparams
This commit is contained in:
		
							parent
							
								
									58d4a57226
								
							
						
					
					
						commit
						a00f453b87
					
				| @ -75,9 +75,6 @@ void AVampireGameMode::SpawnEnemy() | |||||||
| 	FTransform Transform; | 	FTransform Transform; | ||||||
| 	Transform.SetLocation(SpawnLocation); | 	Transform.SetLocation(SpawnLocation); | ||||||
| 
 | 
 | ||||||
| 	FActorSpawnParameters SpawnParameters; |  | ||||||
| 	SpawnParameters.SpawnCollisionHandlingOverride = ESpawnActorCollisionHandlingMethod::AlwaysSpawn; |  | ||||||
| 
 |  | ||||||
| 	if (AActor* enemy = GetEnemyObjectPoolManager_Implementation()->GetObject()) | 	if (AActor* enemy = GetEnemyObjectPoolManager_Implementation()->GetObject()) | ||||||
| 	{ | 	{ | ||||||
| 		if (UKismetSystemLibrary::DoesImplementInterface(enemy, UEnemyable::StaticClass()) && EnemyDataAssets.Num() > 0) | 		if (UKismetSystemLibrary::DoesImplementInterface(enemy, UEnemyable::StaticClass()) && EnemyDataAssets.Num() > 0) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user