mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-10 10:31:29 -10:00
Frog walk: keep FrogModel's 1.5 walk speed factor
FrogModel.setupAnim applies FROG_WALK with applyWalk(pos, speed, 1.5F, 2.5F) on land (1.0F is the swim animation's). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
e3d24ab1a5
commit
341a92902c
1 file changed
+1
-1
@@ -783,7 +783,7 @@ pub fn frog(p: &mut Poses, s: &State, f: &Frog, a: &Animations) {
|
||||
if f.swimming {
|
||||
walk(a, "FrogAnimation.FROG_SWIM", s, 1.0, 2.5, p);
|
||||
} else {
|
||||
walk(a, "FrogAnimation.FROG_WALK", s, 1.0, 2.5, p);
|
||||
walk(a, "FrogAnimation.FROG_WALK", s, 1.5, 2.5, p);
|
||||
}
|
||||
run(a, "FrogAnimation.FROG_IDLE_WATER", &f.swim_idle, s, p);
|
||||
p.visible("croaking_body", f.croak.started.is_some());
|
||||
|
||||
Reference in new issue
Block a user