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
This commit is contained in:
@@ -49,7 +49,7 @@ extern void SetVelocityComponents (VELOCITY_DESC *velocityptr, SIZE dx,
|
|||||||
extern void DeltaVelocityComponents (VELOCITY_DESC *velocityptr, SIZE dx,
|
extern void DeltaVelocityComponents (VELOCITY_DESC *velocityptr, SIZE dx,
|
||||||
SIZE dy);
|
SIZE dy);
|
||||||
|
|
||||||
static inline BOOLEAN
|
static inline bool
|
||||||
IsVelocityZero (VELOCITY_DESC *vptr)
|
IsVelocityZero (VELOCITY_DESC *vptr)
|
||||||
{
|
{
|
||||||
return vptr->vector.width == 0 && vptr->vector.height == 0 &&
|
return vptr->vector.width == 0 && vptr->vector.height == 0 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user