chore: improved formatting in PlayerGetDepth

This commit is contained in:
Sara 2023-11-27 19:03:08 +01:00
parent 1dae0d7f12
commit 087b74244e

View file

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