From 5c0e0dc831a95d54bcf057121735a387adb588ec Mon Sep 17 00:00:00 2001 From: a2x <45197573+a2x@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:16:28 +1000 Subject: [PATCH] Fix typo --- src/dumper/offsets.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dumper/offsets.rs b/src/dumper/offsets.rs index d2cfb32..917fbd8 100644 --- a/src/dumper/offsets.rs +++ b/src/dumper/offsets.rs @@ -360,7 +360,7 @@ mod tests { sleep(Duration::from_secs(1)); // See https://www.unknowncheats.me/forum/3855779-post889.html for button codes. - println!("INSERT down: {}", is_key_down(73)); + println!("INSERT key down: {}", is_key_down(73)); Ok(()) } @@ -445,10 +445,10 @@ mod tests { .base(); let window_width_offset = get_offset_value("engine2.dll", "dwWindowWidth") - .expect("Failed to find dwLocalPlayerPawn offset"); + .expect("Failed to find dwWindowWidth offset"); let window_height_offset = get_offset_value("engine2.dll", "dwWindowHeight") - .expect("Failed to find dwLocalPlayerPawn offset"); + .expect("Failed to find dwWindowHeight offset"); let window_width = process.read_memory::(engine_base + window_width_offset as usize)?;