Skip to content

Commit

Permalink
fixed HitManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteCorum committed Jul 29, 2024
1 parent 016a7d9 commit 2c011d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DragonBurn/Features/Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace Misc
bool wKeyPressed = false;
bool sKeyPressed = false;
HitMarker hitMarker(0, std::chrono::steady_clock::now());
const float HitMarker::SIZE = 30.f;
const float HitMarker::GAP = 10.f;
const float HitMarker::SIZE = 10.f;
const float HitMarker::GAP = 3.f;

void Watermark(const CEntity& LocalPlayer) noexcept
{
Expand Down Expand Up @@ -70,7 +70,7 @@ namespace Misc

void HitManager(const CEntity& aLocalPlayer, int& PreviousTotalHits) noexcept
{
if (!MiscCFG::HitSound && !MiscCFG::HitMarker)
if ((!MiscCFG::HitSound && !MiscCFG::HitMarker) or aLocalPlayer.Controller.TeamID == 0)// or aLocalPlayer.Controller.Health)//add in game cheack
{
return;
}
Expand Down

0 comments on commit 2c011d6

Please sign in to comment.