diff --git a/src/electricity_effect.cc b/src/electricity_effect.cc index aae4247..a9123af 100644 --- a/src/electricity_effect.cc +++ b/src/electricity_effect.cc @@ -13,11 +13,7 @@ ElectricityEffect::ElectricityEffect(Vector3 center, float radius, int line_count, float lifetime) - : cylinders(), - center(center), - cylinder_radius(CYLINDER_MAX_RADIUS), - lifetime(lifetime), - timer(0.0F) { + : cylinders(), lifetime(lifetime), timer(0.0F) { cylinders.reserve(line_count); // Generate cylinders. diff --git a/src/electricity_effect.h b/src/electricity_effect.h index 1ffcf76..d61e914 100644 --- a/src/electricity_effect.h +++ b/src/electricity_effect.h @@ -28,8 +28,6 @@ class ElectricityEffect { }; std::vector cylinders; - Vector3 center; - float cylinder_radius; float lifetime; float timer; };