Fixed simple bug

This commit is contained in:
Unknown 2024-05-10 13:37:38 +02:00
parent 0470691dfd
commit 5384556cc7
2 changed files with 5 additions and 3 deletions

View File

@ -2600,7 +2600,7 @@ namespace Cheat {
auto CurrentEnemy = (SDK::ACharacter*)EnemyArray[i]; auto CurrentEnemy = (SDK::ACharacter*)EnemyArray[i];
if (CurrentEnemy->Class->IsA(StaticABPCharacter)) { if (CurrentEnemy->IsA(StaticABPCharacter)) {
auto CharacterBP = (SDK::ABPCharacter_Demo_C*)CurrentEnemy; auto CharacterBP = (SDK::ABPCharacter_Demo_C*)CurrentEnemy;
auto StateBP = (SDK::AMP_PS_C*)CharacterBP->PlayerState; auto StateBP = (SDK::AMP_PS_C*)CharacterBP->PlayerState;
@ -2637,7 +2637,7 @@ namespace Cheat {
//CharacterBP->CharacterMovement->MaxAcceleration = 20000.0f; //CharacterBP->CharacterMovement->MaxAcceleration = 20000.0f;
CharacterBP->CharacterMovement->GravityScale = 0.5f; CharacterBP->CharacterMovement->GravityScale = 0.5f;
CharacterBP->K2_SetActorLocation(BPCharacter->K2_GetActorLocation(), false, 0, true); CharacterBP->K2_SetActorLocation(BPCharacter->K2_GetActorLocation(), false, 0, true);
} }
if (Settings::PlayerEsp) { if (Settings::PlayerEsp) {
if (StateBP) if (StateBP)
@ -2654,6 +2654,8 @@ namespace Cheat {
} }
} }
} }

View File

@ -1051,7 +1051,7 @@ void MainThread() {
TexturesCopy.push_back(CWINGui::LoadTexture(ByteData)); TexturesCopy.push_back(CWINGui::LoadTexture(ByteData));
} }
GifBackground = new CWINGui::GifData(TexturesCopy, 100); GifBackground = new CWINGui::GifData(TexturesCopy, 50);
} }
return; return;