From 64cc2874089c3e05cc60fb5dc2216290a934b336 Mon Sep 17 00:00:00 2001 From: Wakbub Date: Sat, 15 Sep 2018 18:53:28 +0200 Subject: [PATCH] RHS Compat - Fix GREF canoes refuel interaction (#6575) * Fix RHS GREF canoes refuel interaction * Removed ace_refuel from requiredAddons * fix inheritance --- optionals/compat_rhs_gref3/CfgVehicles.hpp | 7 +++++++ optionals/compat_rhs_gref3/config.cpp | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 optionals/compat_rhs_gref3/CfgVehicles.hpp diff --git a/optionals/compat_rhs_gref3/CfgVehicles.hpp b/optionals/compat_rhs_gref3/CfgVehicles.hpp new file mode 100644 index 0000000000..3ac81df2fe --- /dev/null +++ b/optionals/compat_rhs_gref3/CfgVehicles.hpp @@ -0,0 +1,7 @@ +class CfgVehicles { + class Rubber_duck_base_F; + class rhsgref_canoe_base: Rubber_duck_base_F { + // Canoes are propelled by paddlers + EGVAR(refuel,canReceive) = 0; + }; +}; diff --git a/optionals/compat_rhs_gref3/config.cpp b/optionals/compat_rhs_gref3/config.cpp index 60b5032dd1..a8f8e14773 100644 --- a/optionals/compat_rhs_gref3/config.cpp +++ b/optionals/compat_rhs_gref3/config.cpp @@ -8,6 +8,7 @@ class CfgPatches { requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"rhsgref_main", "rhsgref_c_weapons"}; author = ECSTRING(common,ACETeam); + authors[] = {"PabstMirror", "Ruthberg", "Anton"}; url = ECSTRING(main,URL); VERSION_CONFIG; }; @@ -16,3 +17,4 @@ class CfgPatches { #include "CfgAmmo.hpp" #include "CfgMagazines.hpp" #include "CfgWeapons.hpp" +#include "CfgVehicles.hpp"