Skip to content

Commit

Permalink
mrrow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Sep 19, 2024
1 parent 63e49ec commit 2250824
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Added **Toolbox Button Bypass**
- Added **Scale Text Input**
- Added **Free Scroll**
- Added **No Trail Blending**

# 1.6.6

Expand Down
1 change: 1 addition & 0 deletions src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ class ClientUtils
cosmetic->modules.push_back(new Module("No Ship Fire", "no-ship-fire", "Hides the fire behind the ship while it's flying"));

cosmetic->modules.push_back(new Module("Ball Rotation Bug", "ball-rotation-bug", "EMULATES the old rotation bug when switching gamemodes from the ball"));
cosmetic->modules.push_back(new Module("No Trail Blending", "no-trail-blending", "Disables blending on the normal player trail"));


//cosmetic->modules.push_back(new Module("No Camera Movement", "no-camera", "Disables camera movements that are made with <cl>triggers</c>"));
Expand Down
18 changes: 18 additions & 0 deletions src/Hacks/NoTrailBlending.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/PlayerObject.hpp>
#include "../Client/Client.h"

using namespace geode::prelude;

class $modify (PlayerObject)
{
virtual void update(float dt)
{
if (m_regularTrail)
m_regularTrail->setBlendFunc(this->getBlendFunc());

PlayerObject::update(dt);
}

QOLMOD_MOD_ALL_HOOKS("no-trail-blending")
};

0 comments on commit 2250824

Please sign in to comment.