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

Commit

Permalink
Fix #264
Browse files Browse the repository at this point in the history
  • Loading branch information
R3nzTheCodeGOD committed Nov 21, 2022
1 parent 03ad48c commit 1765c2e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions R3nzSkin/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void Hooks::init() noexcept
}

if (const auto owner{ minion->getGoldRedirectTarget() }; owner) {
if (hash == FNV("JammerDevice") || hash == FNV("SightWard") || hash == FNV("YellowTrinket") || hash == FNV("VisionWard") || hash == FNV("TestCubeRender10Vision")) {
if (hash == FNV("JammerDevice") || hash == FNV("SightWard") || hash == FNV("YellowTrinket") || hash == FNV("VisionWard") || hash == FNV("BlueTrinket") || hash == FNV("TestCubeRender10Vision")) {
if (!player || owner == player) {
if (hash == FNV("TestCubeRender10Vision") && playerHash == FNV("Yone"))
changeModelForObject(minion, "Yone", owner->get_character_data_stack()->base_skin.skin);
Expand All @@ -433,9 +433,8 @@ void Hooks::init() noexcept
else
changeSkinForObject(minion, cheatManager.config->current_ward_skin_index);
}
} else if (hash == FNV("SRU_Jungle_Companions") || hash == FNV("DominationScout"))
continue;
changeSkinForObject(minion, owner->get_character_data_stack()->base_skin.skin);
} else if (hash != FNV("SRU_Jungle_Companions") && hash != FNV("DominationScout"))
changeSkinForObject(minion, owner->get_character_data_stack()->base_skin.skin);
continue;
}

Expand Down

0 comments on commit 1765c2e

Please sign in to comment.