chore: improved formatting in PlayerGetDepth
This commit is contained in:
parent
1dae0d7f12
commit
087b74244e
|
@ -58,7 +58,7 @@ RigidBody* PlayerGetRigidBody(Player* self);
|
|||
void PlayerOnCollision(Player* self, Collision collision);
|
||||
void PlayerOnOverlap(Player* self, Collider* other);
|
||||
|
||||
static long PlayerGetDepth(Player* self) { return -10-(int)(self->transform.position.y * 1000); }
|
||||
static long PlayerGetDepth(Player* self) { return (int)(-10-self->transform.position.y * 1000); }
|
||||
|
||||
impl_no_MessageReceiver_for(Player)
|
||||
|
||||
|
|
Loading…
Reference in a new issue