diff --git a/voxygen/src/scene/figure.rs b/voxygen/src/scene/figure.rs index 39ddc2790e..9fab0d5f8b 100644 --- a/voxygen/src/scene/figure.rs +++ b/voxygen/src/scene/figure.rs @@ -396,6 +396,16 @@ impl FigureMgr { .map(|(change_by, change_time)| Rgba::new(1.0, 0.7, 0.7, 1.0)) .unwrap_or(Rgba::broadcast(1.0)); + // Change in health as color! + let col = stats + .and_then(|stats| stats.hp.last_change) + .map(|(change_by, change_time)| { + Rgba::new(1.0, 0.7, 0.7, 1.0) + }) + .unwrap_or(Rgba::broadcast(1.0)); + + state.update(renderer, pos.0, dir.0, col); + state.update(renderer, pos.0, dir.0, col); } },