mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-10-07 19:40:02 +08:00
Fix dwForceAttack
and dwForceAttack2
patterns
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user