This commit is contained in:
facoptere
2013-11-18 20:52:54 +01:00
parent 61fe1b6ff5
commit 6bb661ebf3
3 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
// check that plants libs are properly loaded // check that plants libs are properly loaded
// thanks to Tansien // thanks to Tansien
class faplants : House {}; class faplants : HouseBase {};
class grass: faplants class grass: faplants
{ {
model = "\ca\data\cl_grass1.p3d"; model = "\ca\data\cl_grass1.p3d";

View File

@@ -10,13 +10,12 @@ class CfgVehicles {
#include "CfgVehicles\Zeds\PlayerZeds.hpp" #include "CfgVehicles\Zeds\PlayerZeds.hpp"
#include "CfgVehicles\Females\females.hpp" #include "CfgVehicles\Females\females.hpp"
#include "CfgVehicles\antihack_logic.hpp" #include "CfgVehicles\antihack_logic.hpp"
#include "CfgVehicles\antihack_plants.hpp"
class All; class All;
class HouseBase; class HouseBase;
class Ruins: HouseBase {}; class Ruins: HouseBase {};
#include "CfgVehicles\antihack_plants.hpp"
#include "CfgVehicles\DZE\Doors.hpp" #include "CfgVehicles\DZE\Doors.hpp"
class AllVehicles; class AllVehicles;

View File

@@ -24,9 +24,7 @@ if(local _v AND{(_v isKindOf"Air")})then{
if(!isDedicated)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{ 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); _tv=abs(velocity _v select 0)+abs(velocity _v select 1)+abs(velocity _v select 2);
if(_tv>2)then{ _dr=if(_tv>2)then{1/_tv}else{1};
_dr=1/_tv}else{
_dr=1};
_fl setDropInterval _dr; _fl setDropInterval _dr;
_sm setDropInterval _dr; _sm setDropInterval _dr;
_i=_i+1; _i=_i+1;