Make dashback configurable, fix movement bugs, add double jump forward and back.
This commit is contained in:
+1
-4
@@ -272,10 +272,7 @@ fn read_local_inputs(
|
||||
Some((_, LocalInputSource::Gamepad(_))) => gamepad
|
||||
.map(|pad| gamepad::sample_gamepad(pad, &input_map))
|
||||
.unwrap_or_default(),
|
||||
None => match gamepad {
|
||||
Some(pad) => gamepad::sample_gamepad(pad, &input_map),
|
||||
None => keyboard::sample_keyboard(&key, &input_map),
|
||||
},
|
||||
None => FighterInputFrame::default()
|
||||
};
|
||||
|
||||
// preprocess frame
|
||||
|
||||
Reference in New Issue
Block a user