Skip to content

Commit

Permalink
Fix issue with live fire not fading after colliding with bomb.
Browse files Browse the repository at this point in the history
Fixes #1403.
  • Loading branch information
martinvanzijl authored and tobbi committed May 21, 2020
1 parent c6db5a6 commit baf3cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/badguy/livefire.cpp
Expand Up @@ -134,6 +134,7 @@ LiveFire::kill_fall()
m_lightsprite->set_blend(Blend::ADD);
m_lightsprite->set_color(Color(1.0f, 0.9f, 0.8f));
set_group(COLGROUP_DISABLED);
state = STATE_DEAD;

// start dead-script
run_dead_script();
Expand Down
3 changes: 2 additions & 1 deletion src/badguy/livefire.hpp
Expand Up @@ -44,7 +44,8 @@ class LiveFire : public WalkingBadguy
STATE_SLEEPING,
STATE_WAKING,
STATE_WALKING,
STATE_DORMANT
STATE_DORMANT,
STATE_DEAD
};

protected:
Expand Down

0 comments on commit baf3cb4

Please sign in to comment.