Address some TODOs
This commit is contained in:
parent
e32e83a826
commit
27d2e89133
4 changed files with 20 additions and 14 deletions
4
racing.h
4
racing.h
|
@ -1384,8 +1384,10 @@ uint32_t LCR_racingStep(unsigned int input)
|
|||
/* When steering, also slightly spin the car. This helps fix the car
|
||||
getting "stuck" by its side to a wall when too close, becoming unable
|
||||
to unstick itself. */
|
||||
|
||||
TPE_bodySpin(&LCR_racing.carBody,_LCR_TPE_vec3DividePlain(carUp,
|
||||
steering == ((input & LCR_RACING_INPUT_LEFT) != 0) ? 100 : -100));
|
||||
(steering == (((input & LCR_RACING_INPUT_LEFT) != 0)) ==
|
||||
((input & (LCR_RACING_INPUT_FORW)) != 0)) ? 100 : -100));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue