From 3f9a77ccb044629d1dd50896ea8af9f0a2725f6d Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Mon, 12 Aug 2013 09:51:14 -1000 Subject: [PATCH] Reset points no longer activate if already in ringing state. --- src/object/firefly.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/object/firefly.cpp b/src/object/firefly.cpp index e699cd25a01..4f1e2a3a8cb 100644 --- a/src/object/firefly.cpp +++ b/src/object/firefly.cpp @@ -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 (&other);