summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension/raytrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c
index da78411..dc017f5 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -332,8 +332,9 @@ dmnsn_raytrace_shoot(dmnsn_line ray, dmnsn_scene *scene,
}
dmnsn_delete_intersection(shadow_caster);
- color = illum;
}
+
+ color = illum;
}
/* Delete the intersection */