Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset points no longer activate if already in ringing state.
  • Loading branch information
tobbi authored and LMH0013 committed Aug 12, 2013
1 parent cb716b3 commit 3f9a77c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/object/firefly.cpp
Expand Up @@ -67,7 +67,8 @@ Firefly::reactivate()
HitResponse
Firefly::collision(GameObject& other, const CollisionHit& )
{
if(activated)
// If the bell is already activated, don't ring it again!
if(activated || sprite->get_action() == "ringing")
return ABORT_MOVE;

Player* player = dynamic_cast<Player*> (&other);
Expand Down

0 comments on commit 3f9a77c

Please sign in to comment.