From 5384556cc70f0c26a787a2ecf0c77daf9f02cfbb Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 10 May 2024 13:37:38 +0200 Subject: [PATCH] Fixed simple bug --- EscapeTheBackroomsGUiTest/Cheat.h | 6 ++++-- EscapeTheBackroomsGUiTest/dllmain.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/EscapeTheBackroomsGUiTest/Cheat.h b/EscapeTheBackroomsGUiTest/Cheat.h index 0d67c06..8826247 100644 --- a/EscapeTheBackroomsGUiTest/Cheat.h +++ b/EscapeTheBackroomsGUiTest/Cheat.h @@ -2600,7 +2600,7 @@ namespace Cheat { auto CurrentEnemy = (SDK::ACharacter*)EnemyArray[i]; - if (CurrentEnemy->Class->IsA(StaticABPCharacter)) { + if (CurrentEnemy->IsA(StaticABPCharacter)) { auto CharacterBP = (SDK::ABPCharacter_Demo_C*)CurrentEnemy; auto StateBP = (SDK::AMP_PS_C*)CharacterBP->PlayerState; @@ -2637,7 +2637,7 @@ namespace Cheat { //CharacterBP->CharacterMovement->MaxAcceleration = 20000.0f; CharacterBP->CharacterMovement->GravityScale = 0.5f; CharacterBP->K2_SetActorLocation(BPCharacter->K2_GetActorLocation(), false, 0, true); - } + } if (Settings::PlayerEsp) { if (StateBP) @@ -2654,6 +2654,8 @@ namespace Cheat { } + + } } diff --git a/EscapeTheBackroomsGUiTest/dllmain.cpp b/EscapeTheBackroomsGUiTest/dllmain.cpp index 6305ff7..6c0ade6 100644 --- a/EscapeTheBackroomsGUiTest/dllmain.cpp +++ b/EscapeTheBackroomsGUiTest/dllmain.cpp @@ -1051,7 +1051,7 @@ void MainThread() { TexturesCopy.push_back(CWINGui::LoadTexture(ByteData)); } - GifBackground = new CWINGui::GifData(TexturesCopy, 100); + GifBackground = new CWINGui::GifData(TexturesCopy, 50); } return;