Skip to content

Commit

Permalink
Evil Eye Hotfix (disable Debug FindInRadius)
Browse files Browse the repository at this point in the history
jsgnextortex committed Jul 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3e52d95 commit 2c82330
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.0.10b -
* Fixes:
- Disabled the new Debug find in radius feature until further notice, since it causes issues on some vanilla calls (Ex: Evil Eye)
/newline/
v1.0.10a -
Additions:
* EntityPlayer:
2 changes: 2 additions & 0 deletions repentogon/ImGuiFeatures/GameOptions.h
Original file line number Diff line number Diff line change
@@ -328,11 +328,13 @@ struct GameOptionsWindow : ImGuiWindowObject {
ImGui::SameLine();
HelpMarker(LANG.OPT_REPENTOGON_FILE_MAP_MARK);
AddResetButton(++resetCounter, repentogonOptions.fileMap, true);
/*
AddNewTableRow();
ImGui::Checkbox(LANG.OPT_REPENTOGON_DEBUG_FIND_IN_RADIUS, &repentogonOptions.renderDebugFindInRadius);
ImGui::SameLine();
HelpMarker(LANG.OPT_REPENTOGON_DEBUG_FIND_IN_RADIUS_MARK);
AddResetButton(++resetCounter, repentogonOptions.renderDebugFindInRadius, false);
*/ //causes Evil Eye Funkies

ImGui::EndTable();
}
5 changes: 3 additions & 2 deletions repentogon/Patches/ExtraDebugRender.cpp
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
#include "HookSystem.h"

#include "../REPENTOGONOptions.h"

/*
HOOK_METHOD(EntityList, QueryRadius, (EntityList_EL* result, Vector* Position, float Radius, unsigned int Partitions) -> void) {
super(result, Position, Radius, Partitions);
if (repentogonOptions.renderDebugFindInRadius && (*g_Game->GetDebugFlags() >> 5 & 1)) {
@@ -13,4 +13,5 @@ HOOK_METHOD(EntityList, QueryRadius, (EntityList_EL* result, Vector* Position, f
shape->Circle(Position, Radius);
}
}
}
*/ // causes Evil Eye Funkyness
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.10a
1.0.10b

0 comments on commit 2c82330

Please sign in to comment.