From 7f20e0193881552143fccfed9dc38174044da157 Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:55:41 -0500 Subject: [PATCH] Fixed incorrect pointer type for PBOOL on line 92. (#2545) --- src/backend/looped/vehicle/ls_customs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/looped/vehicle/ls_customs.cpp b/src/backend/looped/vehicle/ls_customs.cpp index 6e83bdf1..0858d3bb 100644 --- a/src/backend/looped/vehicle/ls_customs.cpp +++ b/src/backend/looped/vehicle/ls_customs.cpp @@ -89,8 +89,8 @@ namespace big if (g.vehicle.ls_customs && bModshopReady && g.m_modshop_thread && g.m_modshop_thread->m_stack) { - *scr_locals::carmod_shop::ready.set(g.m_modshop_thread->m_stack).as() = FALSE; - *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::vehicle_state).as() = -1; + *scr_locals::carmod_shop::ready.set(g.m_modshop_thread->m_stack).as() = FALSE; + *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::vehicle_state).as() = -1; *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::vehicle_ent_id).as() = self::veh; if (*scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::state).as() == 0)