dix: Don't use short as bool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Simon Thum <simon.thum@gmx.de>
This commit is contained in:
parent
97c1967689
commit
5ffe06bada
|
@ -714,7 +714,7 @@ ApplySofteningAndConstantDeceleration(
|
||||||
int dy,
|
int dy,
|
||||||
float* fdx,
|
float* fdx,
|
||||||
float* fdy,
|
float* fdy,
|
||||||
short do_soften)
|
BOOL do_soften)
|
||||||
{
|
{
|
||||||
if (do_soften && vel->use_softening) {
|
if (do_soften && vel->use_softening) {
|
||||||
*fdx = ApplySimpleSoftening(vel->last_dx, dx);
|
*fdx = ApplySimpleSoftening(vel->last_dx, dx);
|
||||||
|
|
Loading…
Reference in New Issue