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:
Peter Hutterer 2011-04-20 15:26:11 +10:00
parent 97c1967689
commit 5ffe06bada

View File

@ -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);