Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/game/items/StarMaterialItem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/game/items/StarMaterialItem.cpp b/source/game/items/StarMaterialItem.cpp
index fd32983..a46fa98 100644
--- a/source/game/items/StarMaterialItem.cpp
+++ b/source/game/items/StarMaterialItem.cpp
@@ -133,7 +133,6 @@ void MaterialItem::update(float dt, FireMode fireMode, bool shifting, HashSet<Mo
void MaterialItem::render(RenderCallback* renderCallback, EntityRenderLayer) {
if (m_blockSwap || m_collisionOverride != TileCollisionOverride::None) {
float pulse = (float)sin(2 * Constants::pi * 4.0 * Time::monotonicTime());
- float pulseLevel = 1.f - 0.3f * 0.5f * ((float)sin(2 * Constants::pi * 4.0 * Time::monotonicTime()) + 1.f);
float pulseA = 0.85 - pulse * 0.15f;
float pulseB = 0.85 + pulse * 0.15f;
Color color = owner()->favoriteColor().mix(Color::White);