From 23bf437bff1ee6415dbdb23705f340a0cb1aeb20 Mon Sep 17 00:00:00 2001 From: Grinch_ Date: Fri, 13 Aug 2021 23:56:05 +0600 Subject: [PATCH] Fix ped spawner showing no images --- src/Ped.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Ped.h b/src/Ped.h index 6ac16b0..26d5e30 100644 --- a/src/Ped.h +++ b/src/Ped.h @@ -9,9 +9,10 @@ class Ped private: #ifdef GTASA inline static CJson m_SpecialPedJson = CJson("ped special"); + inline static ResourceStore m_PedData{"ped", eResourceType::TYPE_BOTH, ImVec2(65, 110)}; +#elif GTAVC + inline static ResourceStore m_PedData{"ped", eResourceType::TYPE_TEXT}; #endif - - inline static ResourceStore m_PedData{"ped", eResourceType::TYPE_TEXT, ImVec2(65, 110)}; inline static bool m_bImagesLoaded; inline static bool m_bExGangWarsInstalled; inline static int m_nPedRemoveRadius = 5;