diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index 7931ab2d..88fa1dd3 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -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); }