From ddd2153b8f9f5b37ad3cf6178ecf87082ec16c3e Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 30 Nov 2018 17:57:52 -0500 Subject: [PATCH] Fix no model for water pumps and add offset --- addons/field_rations/CfgVehicles.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/field_rations/CfgVehicles.hpp b/addons/field_rations/CfgVehicles.hpp index b8e0565c..45e5717d 100644 --- a/addons/field_rations/CfgVehicles.hpp +++ b/addons/field_rations/CfgVehicles.hpp @@ -75,12 +75,14 @@ class CfgVehicles { GVAR(waterSupply) = REFILL_WATER_INFINITE; }; - class Machine_base_F; - class WaterPump_01_forest_F: Machine_base_F { + class Land_WaterPump_01_F; + class WaterPump_01_forest_F: Land_WaterPump_01_F { GVAR(waterSupply) = REFILL_WATER_INFINITE; + GVAR(offset)[] = {0, -1.8, 0.06}; }; - class WaterPump_01_sand_F: Machine_base_F { + class WaterPump_01_sand_F: Land_WaterPump_01_F { GVAR(waterSupply) = REFILL_WATER_INFINITE; + GVAR(offset)[] = {0, -1.8, 0.06}; }; class Truck_02_water_base_F;