From ebe57ca6dc2294312f0d3f3fb4865645460a2995 Mon Sep 17 00:00:00 2001 From: Vankata453 <78196474+Vankata453@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:10:29 +0200 Subject: [PATCH] "light" -> "on-light", remove unneeded `set_blend` --- src/object/bonus_block.cpp | 2 +- src/object/bullet.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/object/bonus_block.cpp b/src/object/bonus_block.cpp index a187766d97..2d87645f87 100644 --- a/src/object/bonus_block.cpp +++ b/src/object/bonus_block.cpp @@ -759,7 +759,7 @@ BonusBlock::preload_contents(int d) case 6: // Light. case 15: // Light (On). SoundManager::current()->preload("sounds/switch.ogg"); - m_lightsprite = m_sprite->create_linked_sprite("light"); + m_lightsprite = m_sprite->create_linked_sprite("on-light"); break; case 7: diff --git a/src/object/bullet.cpp b/src/object/bullet.cpp index dd4cd7d591..cbe9ed3174 100644 --- a/src/object/bullet.cpp +++ b/src/object/bullet.cpp @@ -52,8 +52,6 @@ Bullet::Bullet(const Vector& pos, const Vector& xm, Direction dir, BonusType typ } lightsprite = sprite->create_linked_light_sprite(); - if (lightsprite) - lightsprite->set_blend(Blend::ADD); m_col.m_bbox.set_pos(pos); m_col.m_bbox.set_size(sprite->get_current_hitbox_width(), sprite->get_current_hitbox_height());