drift
This commit is contained in:
parent
700d571b9f
commit
9589907cb9
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Render {
|
||||||
this.RenderPlayer(player,true);
|
this.RenderPlayer(player,true);
|
||||||
|
|
||||||
cars.forEach((car) => {
|
cars.forEach((car) => {
|
||||||
this.RenderCar(car.x,car.y,0,car.angle/*+(car.drift>0?car.drift/150:0)*/);
|
this.RenderCar(car.x,car.y,0,car.angle+(car.drift>0?car.drift/150:0));
|
||||||
});
|
});
|
||||||
players.forEach((player) => {
|
players.forEach((player) => {
|
||||||
this.RenderPlayer(player,false);
|
this.RenderPlayer(player,false);
|
||||||
|
|
Loading…
Reference in a new issue