From 6a213bcf60b6dc9be147b835c6f09f917fa52bd0 Mon Sep 17 00:00:00 2001 From: Wakbub Date: Mon, 2 May 2022 23:54:30 +0000 Subject: [PATCH] Cargo / Dragging - Fix Invisible Target Soldier being loadable and draggable/carriable (#8873) --- addons/cargo/CfgVehicles.hpp | 5 +++++ addons/dragging/CfgVehicles.hpp | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/addons/cargo/CfgVehicles.hpp b/addons/cargo/CfgVehicles.hpp index 1b34af87de..20685e411b 100644 --- a/addons/cargo/CfgVehicles.hpp +++ b/addons/cargo/CfgVehicles.hpp @@ -322,6 +322,11 @@ class CfgVehicles { GVAR(canLoad) = 1; }; + // Invisible Target Soldier + class TargetSoldierBase: StaticWeapon { + GVAR(canLoad) = 0; + }; + class StaticMortar; class Mortar_01_base_F: StaticMortar { GVAR(size) = 2; // 1 = small, 2 = large diff --git a/addons/dragging/CfgVehicles.hpp b/addons/dragging/CfgVehicles.hpp index 42a7d4c3d8..cea1675565 100644 --- a/addons/dragging/CfgVehicles.hpp +++ b/addons/dragging/CfgVehicles.hpp @@ -18,6 +18,12 @@ class CfgVehicles { GVAR(canDrag) = 0; }; + // Invisible Target Soldier + class TargetSoldierBase: StaticWeapon { + GVAR(canCarry) = 0; + GVAR(canDrag) = 0; + }; + class StaticMortar; class Mortar_01_base_F: StaticMortar { GVAR(canCarry) = 1;