Skip to content

Commit

Permalink
Adams Glasses fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xxk-i committed Nov 22, 2022
1 parent 5fcf5c0 commit 3cc0f9e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,24 +662,12 @@ __int64 __fastcall HkManageMeshVisibilites(NieR::PlayerModelInfo* pPlayerModelIn
//set_mesh_invisible(pPlayerModelInfo, "Eyelash_serious");
}

if (( ((pPlayerModelInfo->dword16CEC) != 0 && (pPlayerModelInfo->accessoryEquipped) == 0xe)))
if (( (pPlayerModelInfo->dword16CEC != 0 ) && (pPlayerModelInfo->accessoryEquipped == 0xe) || (pPlayerModelInfo->accessoryEquipped == 0x3 )))
{
set_mesh_invisible(pPlayerModelInfo, "Eyemask");
set_mesh_invisible(pPlayerModelInfo, "NS_2P_Eyemask");
/*
if (pPlayerModelInfo->outfitEquipped == 0) set_mesh_visible(pPlayerModelInfo, "Eyemask");
else if (pPlayerModelInfo->outfitEquipped == 4) set_mesh_visible(pPlayerModelInfo, "NS_2P_Eyemask");
*/
}

/*
if ((pPlayerModelInfo->accessoryEquipped) != 3)
{
if (pPlayerModelInfo->outfitEquipped == 0) set_mesh_visible(pPlayerModelInfo, "Eyemask");
else if (pPlayerModelInfo->outfitEquipped == 4) set_mesh_visible(pPlayerModelInfo, "NS_2P_Eyemask");
}
*/

if ((pPlayerModelInfo->dwordisFacialNormal) == 1)
{
set_mesh_invisible(pPlayerModelInfo, "facial_normal");
Expand Down

0 comments on commit 3cc0f9e

Please sign in to comment.