Skip to content

Commit

Permalink
Increase speed of humans running towards aircraft
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed May 7, 2020
1 parent ec6b237 commit 2cb6509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2621,11 +2621,11 @@ int SARSimApplyArtificialForce(
human->flags |= SAR_HUMAN_FLAG_RUN;

pos->x += (float)(
sin(dir->heading) * 1.0 *
sin(dir->heading) * 2.5 *
time_compensation * time_compression
);
pos->y += (float)(
cos(dir->heading) * 1.0 *
cos(dir->heading) * 2.5 *
time_compensation * time_compression
);
}
Expand Down

0 comments on commit 2cb6509

Please sign in to comment.