Skip to content

Commit

Permalink
Fix "Missing sprite" issues with some objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankata453 committed Nov 23, 2024
1 parent 882eeb1 commit a2f4d77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/images/creatures/gold_bomb/gold_bomb.sprite
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@
(mirror-action "ticking-left"))

(linked-sprites
(explode "images/creatures/mr_bomb/ticking_glow/ticking_glow.sprite")
(ticking-glow "images/creatures/mr_bomb/ticking_glow/ticking_glow.sprite")
)
)
2 changes: 1 addition & 1 deletion src/object/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Key::update(float dt_sec)
if (spawn_particle_now)
{
Sector::get().add<SpriteParticle>(
m_sprite->get_linked_sprite("sparkle-spawn"),
m_sprite->get_linked_sprite("sparkle-small"),
ppos, ANCHOR_MIDDLE, Vector(0, 0), Vector(0, 0), LAYER_OBJECTS + 6, false, m_color);
}

Expand Down
3 changes: 0 additions & 3 deletions src/object/weak_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ WeakBlock::update(float )
set_action("disintegrating", 1);
spreadHit();
set_group(COLGROUP_DISABLED);
lightsprite = m_sprite->create_linked_sprite("disintegrate-light");
lightsprite->set_blend(Blend::ADD);
lightsprite->set_color(Color(0.3f, 0.2f, 0.1f));
}
break;

Expand Down

0 comments on commit a2f4d77

Please sign in to comment.