From ab5d998aabafd15879b60bd32ad43298e539b9ab Mon Sep 17 00:00:00 2001 From: ermaccer <40604575+ermaccer@users.noreply.github.com> Date: Fri, 1 Apr 2022 21:08:21 +0200 Subject: [PATCH] bag head --- source/code/plugin/menu/eMenu.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/code/plugin/menu/eMenu.cpp b/source/code/plugin/menu/eMenu.cpp index 1d336b0..00b9299 100644 --- a/source/code/plugin/menu/eMenu.cpp +++ b/source/code/plugin/menu/eMenu.cpp @@ -121,7 +121,6 @@ void eMenu::Initialize() AddWeaponEntry(CT_PIGSY_WIRE); AddWeaponEntry(CT_PIGSY_SHARD); AddWeaponEntry(CT_BAG); - //AddWeaponEntry(CT_BAG); AddCategory("Weapons", true); @@ -1016,12 +1015,7 @@ void SetDifficultyHard() void PutBagOnPlayerHead() { CPed* ped = (CPed*)CScene::FindPlayer(); - RwFrame* head = ped->GetBoneFrame(1001); - - const RwV3d pos = { 1.15f, -1.25f, 4.05f }; - RwFrameTranslate(head, &pos, rwCOMBINEPRECONCAT); - RwFrameUpdateObjects(head); - //ped->ChangePedHead("Bag_Head"); + ped->ChangePedHead("Bag_Head"); } void PlayerDropAllWeapons()