mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
// check that plants libs are properly loaded
|
||||
// thanks to Tansien
|
||||
class faplants : House {};
|
||||
class faplants : HouseBase {};
|
||||
class grass: faplants
|
||||
{
|
||||
model = "\ca\data\cl_grass1.p3d";
|
||||
|
||||
@@ -10,13 +10,12 @@ class CfgVehicles {
|
||||
#include "CfgVehicles\Zeds\PlayerZeds.hpp"
|
||||
#include "CfgVehicles\Females\females.hpp"
|
||||
#include "CfgVehicles\antihack_logic.hpp"
|
||||
#include "CfgVehicles\antihack_plants.hpp"
|
||||
|
||||
class All;
|
||||
|
||||
class HouseBase;
|
||||
class Ruins: HouseBase {};
|
||||
|
||||
#include "CfgVehicles\antihack_plants.hpp"
|
||||
#include "CfgVehicles\DZE\Doors.hpp"
|
||||
|
||||
class AllVehicles;
|
||||
|
||||
@@ -24,9 +24,7 @@ if(local _v AND{(_v isKindOf"Air")})then{
|
||||
if(!isDedicated)then{
|
||||
while{_i<1200&&((velocity _v select 2)<-20||(getPosATL _v select 2)>8)&&!(alive _v)&&!(isnull _v)&&(getPosATL _v select 2)>1}do{
|
||||
_tv=abs(velocity _v select 0)+abs(velocity _v select 1)+abs(velocity _v select 2);
|
||||
if(_tv>2)then{
|
||||
_dr=1/_tv}else{
|
||||
_dr=1};
|
||||
_dr=if(_tv>2)then{1/_tv}else{1};
|
||||
_fl setDropInterval _dr;
|
||||
_sm setDropInterval _dr;
|
||||
_i=_i+1;
|
||||
|
||||
Reference in New Issue
Block a user