From dfeaf56b02b9deff1399ded1a01ae869a9071a06 Mon Sep 17 00:00:00 2001 From: avolkov Date: Mon, 13 Feb 2012 01:08:15 +0000 Subject: [PATCH] Change return type of IsVelocityZero() to reflect the real return value git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3769 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/velocity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/uqm/velocity.h b/sc2/src/uqm/velocity.h index 23bea030f..698657fb3 100644 --- a/sc2/src/uqm/velocity.h +++ b/sc2/src/uqm/velocity.h @@ -49,7 +49,7 @@ extern void SetVelocityComponents (VELOCITY_DESC *velocityptr, SIZE dx, extern void DeltaVelocityComponents (VELOCITY_DESC *velocityptr, SIZE dx, SIZE dy); -static inline BOOLEAN +static inline bool IsVelocityZero (VELOCITY_DESC *vptr) { return vptr->vector.width == 0 && vptr->vector.height == 0 &&