mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
ads-game:: fuel particles take scale into account
This commit is contained in:
parent
04c43e99e6
commit
b7c15e0978
@ -173,7 +173,7 @@ bool ads_turn(int idelta) {
|
|||||||
if(!paused) {
|
if(!paused) {
|
||||||
pdata.fuel -= delta*accel*mul;
|
pdata.fuel -= delta*accel*mul;
|
||||||
cell *c = hybrid::get_where(vctr).first;
|
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;
|
ld tc = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user