From d7351f9e3b0a0de2b40b0b29057b02f28b0c7c80 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 24 Aug 2023 15:09:59 +0900 Subject: [PATCH] Fix tweak for electricity effect --- src/electricity_effect.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electricity_effect.cc b/src/electricity_effect.cc index e449c93..aee5014 100644 --- a/src/electricity_effect.cc +++ b/src/electricity_effect.cc @@ -81,6 +81,6 @@ void ElectricityEffect::draw(Color color) { for (const auto &cylinder : cylinders) { DrawCylinderEx(cylinder.start, cylinder.end, CYLINDER_MAX_RADIUS * ratio, - CYLINDER_MAX_RADIUS * ratio, 8, color); + CYLINDER_MAX_RADIUS * ratio, CYLINDER_SIDES, color); } }