diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-07-29 21:08:35 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-07-29 21:08:35 +0200 |
| commit | 754cec44589d8e0c899b36e2cf216a0ef8aec27f (patch) | |
| tree | 3de5551069954fdcd67bf7c51b5d1ac02213b8b0 | |
| parent | a365f17c31ddc48326d26bfc43860ab0afd9a309 (diff) | |
| download | DTSensors.c4d-754cec44589d8e0c899b36e2cf216a0ef8aec27f.tar.gz DTSensors.c4d-754cec44589d8e0c899b36e2cf216a0ef8aec27f.zip | |
Replace ArrayAppend(arr, value) with arr[] = value
| -rw-r--r-- | Items.c4d/Sensors.c4d/RC.c4d/Script.c | 4 | ||||
| -rw-r--r-- | System.c4g/IDs.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Items.c4d/Sensors.c4d/RC.c4d/Script.c b/Items.c4d/Sensors.c4d/RC.c4d/Script.c index b582a4d..75d3157 100644 --- a/Items.c4d/Sensors.c4d/RC.c4d/Script.c +++ b/Items.c4d/Sensors.c4d/RC.c4d/Script.c @@ -646,13 +646,13 @@ global func FxIntJnRAimTimer(object target, int number, int time) // Controller weg? var controller = EffectVar(2, target, number); if(!controller) return(-1); - + // Controller muss Fahrzeug anfassen if(target) if(target->GetCategory() & C4D_Vehicle) if(controller->GetProcedure() != "PUSH" || (controller->GetActionTarget() != target && GetID(controller->GetActionTarget()) != RC7I)) return FX_Execute_Kill; - + if(target) target->AimConf(EffectVar(0, target, number), EffectVar(1, target, number), EffectVar(2, target, number)); else if(EffectVar(3, target, number)) diff --git a/System.c4g/IDs.c b/System.c4g/IDs.c index e5c1280..d1950dd 100644 --- a/System.c4g/IDs.c +++ b/System.c4g/IDs.c @@ -12,4 +12,4 @@ static const DT_Sensors_RemoteControl = RC7I; static const DT_Sensors_SensorBase = SN7I; static const DT_Sensors_SensorEntrance = SE7I; static const DT_Sensors_Switch = SW7I; -static const DT_Sensors_Timer = TI7I; +static const DT_Sensors_Timer = TI7I;
\ No newline at end of file |
