summaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index f1387b8..f0b5b27 100644
--- a/src/command.c
+++ b/src/command.c
@@ -205,7 +205,7 @@ static void set_level(struct lightctx *nl, int val)
for ( i=0; i<nl->n_sel; i++ ) {
struct fixture *fix = &nl->fixtures[nl->selection[i]];
- fix->intensity = (float)val/100.0;
+ fix->v.intensity = (float)val/100.0;
}
}