fix for spawn unit when projectile impacts
This commit is contained in:
parent
133a1fc8b5
commit
fb178f9c65
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue