From 2efc2f67551528b9bdb770ede27893b1adcc5342 Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:12:10 -0400 Subject: [PATCH] Removed OUTFIT_UNKs from props_t. (#2258) --- src/services/outfit/outfit_service.cpp | 3 +-- src/util/outfit.hpp | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/services/outfit/outfit_service.cpp b/src/services/outfit/outfit_service.cpp index c4118bd0..fe5c7f8c 100644 --- a/src/services/outfit/outfit_service.cpp +++ b/src/services/outfit/outfit_service.cpp @@ -108,10 +108,9 @@ namespace big j_props[std::to_string(item.id)] = tmp; } - head_blend_data blend_data{}; - if (model == RAGE_JOAAT("mp_m_freemode_01") || model == RAGE_JOAAT("mp_f_freemode_01")) { + head_blend_data blend_data{}; PED::GET_PED_HEAD_BLEND_DATA(self::ped, (Any*)&blend_data); j["blend_data"] = blend_data; } diff --git a/src/util/outfit.hpp b/src/util/outfit.hpp index f83a4eb0..a289bea3 100644 --- a/src/util/outfit.hpp +++ b/src/util/outfit.hpp @@ -34,12 +34,8 @@ namespace big::outfit std::vector items = {{0, "OUTFIT_HEAD"_T.data()}, {1, "OUTFIT_GLASSES"_T.data()}, {2, "OUTFIT_EARS"_T.data()}, - {3, "OUTFIT_UNK1"_T.data()}, - {4, "OUTFIT_UNK2"_T.data()}, - {5, "OUTFIT_UNK3"_T.data()}, {6, "OUTFIT_WATCH"_T.data()}, - {7, "OUTFIT_WRIST"_T.data()}, - {8, "OUTFIT_UNK4"_T.data()}}; + {7, "OUTFIT_WRIST"_T.data()}}; }; inline void check_bounds_drawable(outfit_t* item)