Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
add show trajectory to cheats
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnut committed Apr 9, 2024
1 parent 8781ca4 commit 08c559e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ void Common::updateCheating()
bool instantComplete = Settings::get<bool>("level/instant_complete", false);
bool hitboxMultiplier = Settings::get<bool>("level/hitbox_multiplier", false);
bool layoutMode = Settings::get<bool>("level/layout_mode", false);
bool showTrajectory = Settings::get<bool>("player/show_trajectory/enabled", false);

if (speedhack != 1.f || Macrobot::playerMode == 0 || (showHitbox && !onDeath) || hidePause || hitboxMultiplier || noShaders || instantComplete || layoutMode)
if (speedhack != 1.f || Macrobot::playerMode == 0 || (showHitbox && !onDeath) || hidePause || hitboxMultiplier || noShaders || instantComplete || layoutMode || showTrajectory)
{
isCheating = true;
return;
Expand Down

0 comments on commit 08c559e

Please sign in to comment.