1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-20 12:20:01 +00:00

fractick in draw_gravity_particles

This commit is contained in:
Zeno Rogue 2019-01-03 03:20:02 +01:00
parent cded55423b
commit 78b64a3c6a

View File

@ -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.;