Fix dwForceAttack and dwForceAttack2 patterns

This commit is contained in:
a2x
2023-12-15 01:23:32 +10:00
parent a69276402b
commit 8aa2b8400c
8 changed files with 20 additions and 20 deletions

View File

@@ -235,7 +235,7 @@ mod tests {
.expect("Failed to find client.dll")
.base();
const BUTTONS: [&str; 8] = [
const FORCE_BUTTONS: [&str; 8] = [
"dwForceAttack",
"dwForceAttack2",
"dwForceBackward",
@@ -257,7 +257,7 @@ mod tests {
// Sleep for a second so we're able to test.
sleep(Duration::from_secs(1));
for button in &BUTTONS {
for button in &FORCE_BUTTONS {
let offset = get_offset_value("client.dll", button)
.expect(&format!("Failed to find {} offset", button));