Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
MobESP can now be rainbow (#4517)
Browse files Browse the repository at this point in the history
  • Loading branch information
Intoprelised authored Oct 4, 2021
1 parent a099928 commit c3f258b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Horion/Module/Modules/ESP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ void doRenderStuff(C_Entity* ent, bool isRegularEntitie) {

if (!localPlayer->canAttack(ent, false))
return;
DrawUtils::setColor(0.2f, 0.2f, 0.9f, (float)fmax(0.1f, (float)fmin(1.f, 15 / (ent->damageTime + 1))));
if (espMod->doRainbow)
DrawUtils::setColor(rcolors[0], rcolors[1], rcolors[2], (float)fmax(0.1f, (float)fmin(1.f, 15 / (ent->damageTime + 1))));
else
DrawUtils::setColor(0.9f, 0.9f, 0.9f, (float)fmax(0.1f, (float)fmin(1.f, 15 / (ent->damageTime + 1))));
} else
return;
if (espMod->is2d)
Expand Down

0 comments on commit c3f258b

Please sign in to comment.