From 8a6b450bf1ce8fa4ec4a2d6da610cc440470e4f3 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 15 Oct 2024 12:25:23 +0000 Subject: [PATCH] style: fix code style issues with gofmt --- src/char.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/char.go b/src/char.go index 640ebd98b..da4c91b65 100644 --- a/src/char.go +++ b/src/char.go @@ -444,7 +444,7 @@ type CharMovement struct { groundlevel float32 } gethit struct { - offset [2]float32 + offset [2]float32 } friction_threshold float32 } @@ -708,17 +708,17 @@ func (hd *HitDef) clear(localscl float32) { air_juggle: IErr, // Fall group fall: Fall{ - animtype: RA_Unknown, - xvelocity: float32(math.NaN()), - yvelocity: -4.5 / originLs, - zvelocity: 0, // Should this work like the X component instead? - recover: true, - recovertime: 4, - kill: true, - envshake_freq: 60, - envshake_ampl: IErr, + animtype: RA_Unknown, + xvelocity: float32(math.NaN()), + yvelocity: -4.5 / originLs, + zvelocity: 0, // Should this work like the X component instead? + recover: true, + recovertime: 4, + kill: true, + envshake_freq: 60, + envshake_ampl: IErr, envshake_phase: float32(math.NaN()), - envshake_mul: 1.0, + envshake_mul: 1.0, }, // Attack depth attack: struct{ depth [2]float32 }{