mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
fractick in draw_gravity_particles
This commit is contained in:
parent
cded55423b
commit
78b64a3c6a
@ -3632,7 +3632,7 @@ int colorhash(color_t i) {
|
||||
void draw_gravity_particles(cell *c, const transmatrix V) {
|
||||
int u = (int)(size_t)(c);
|
||||
u = ((u * 137) + (u % 1000) * 51) % 1000;
|
||||
int tt = ticks + u;
|
||||
int tt = ticks + u; fractick(ticks, 900);
|
||||
ld r0 = (tt % 900) / 1100.;
|
||||
ld r1 = (tt % 900 + 200) / 1100.;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user