Skip to content

Commit

Permalink
style: fix code style issues with gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Oct 15, 2024
1 parent c898ccf commit 8a6b450
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/char.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ type CharMovement struct {
groundlevel float32
}
gethit struct {
offset [2]float32
offset [2]float32
}
friction_threshold float32
}
Expand Down Expand Up @@ -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 }{
Expand Down

0 comments on commit 8a6b450

Please sign in to comment.