From 5fa3e5f1fcba867a747f2b8acf344508a8905a46 Mon Sep 17 00:00:00 2001 From: Tal Hayon Date: Tue, 28 Dec 2021 00:14:45 +0200 Subject: [PATCH] clang format --- src/projectile/moblinSpear.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/projectile/moblinSpear.c b/src/projectile/moblinSpear.c index c374a790..09decdd6 100644 --- a/src/projectile/moblinSpear.c +++ b/src/projectile/moblinSpear.c @@ -53,8 +53,8 @@ void MoblinSpear_Action1(Entity* this) { u8 frames; Entity* parent; u32 tmp; - - //const HitboxChange* a; + + // const HitboxChange* a; // TODO: Copying a members using HitboxChange members addresses them directly using [r2, 0x1] // while the assembly increases the pointer after every copy. // Not sure how to make this more readable. @@ -68,7 +68,7 @@ void MoblinSpear_Action1(Entity* this) { DeleteThisEntity(); } frames = parent->frame * 4; - a = (u8*) &gUnk_0812966C[frames / 4]; + a = (u8*)&gUnk_0812966C[frames / 4]; this->hitbox->offset_x = *a++; if (parent->frameSpriteSettings == 0x40) { this->hitbox->offset_x = -this->hitbox->offset_x;