1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

racing:: smaller spread of racer generation

This commit is contained in:
Zeno Rogue 2018-11-25 23:48:04 +01:00
parent b840574351
commit 201f3fb11d

View File

@ -412,7 +412,7 @@ void generate_track() {
for(int i=0; i<multi::players; i++) {
auto who = shmup::pc[i];
// this is intentionally not hrand
who->at = straight * parabolic1(start_line_width * (rand() % 20000 - 10000) / 20000) * spin(rand() % 360);
who->at = straight * parabolic1(start_line_width * (rand() % 20000 - 10000) / 40000) * spin(rand() % 360);
who->base = s;
virtualRebase(who, true);
}