fix for spawn unit when projectile impacts

This commit is contained in:
titiger 2021-04-16 01:56:05 +02:00
parent 133a1fc8b5
commit fb178f9c65
1 changed files with 2 additions and 2 deletions

View File

@ -3442,8 +3442,8 @@ void ParticleDamager::update(ParticleSystem *particleSystem) {
//check for spawnattack
if(projectileType->getSpawnUnit()!="" && projectileType->getSpawnUnitcount()>0 ){
unitUpdater->spawnAttack(attacker, projectileType->getSpawnUnit(), 100,
100, 100, projectileType->getSpawnUnitcount(),
unitUpdater->spawnAttack(attacker, projectileType->getSpawnUnit(), projectileType->getSpawnUnitcount(),
100, 100, 100,
projectileType->getSpawnUnitAtTarget(), targetPos);
}