From b7c15e097825dbd3b6ef85f6bf4a089ab62c94a8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 18 Sep 2022 13:34:47 +0200 Subject: [PATCH] ads-game:: fuel particles take scale into account --- rogueviz/ads/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/ads/control.cpp b/rogueviz/ads/control.cpp index e6bae4a4..6a8266f3 100644 --- a/rogueviz/ads/control.cpp +++ b/rogueviz/ads/control.cpp @@ -173,7 +173,7 @@ bool ads_turn(int idelta) { if(!paused) { pdata.fuel -= delta*accel*mul; cell *c = hybrid::get_where(vctr).first; - gen_particles(rpoisson(delta*accel*mul*fuel_particle_qty), c, ads_inverse(current * vctrV) * spin(ang*degree+M_PI) * rots::uxpush(0.06), rsrc_color[rtFuel], fuel_particle_rapidity, fuel_particle_life, 0.02); + gen_particles(rpoisson(delta*accel*mul*fuel_particle_qty), c, ads_inverse(current * vctrV) * spin(ang*degree+M_PI) * rots::uxpush(0.06 * scale), rsrc_color[rtFuel], fuel_particle_rapidity, fuel_particle_life, 0.02); } ld tc = 0;