From 63255b15f49ef13ffecf5709f02032e0e8da403b Mon Sep 17 00:00:00 2001 From: LMH Date: Sat, 7 Sep 2013 20:51:37 -1000 Subject: [PATCH] Prevent livefire from wakeing from sleep while in the process of being extinguished --- src/badguy/livefire.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/badguy/livefire.cpp b/src/badguy/livefire.cpp index b627c4934..1fa5cba08 100644 --- a/src/badguy/livefire.cpp +++ b/src/badguy/livefire.cpp @@ -68,7 +68,7 @@ LiveFire::active_update(float elapsed_time) { return; } - if(state == STATE_SLEEPING) { + if(state == STATE_SLEEPING && get_group() == COLGROUP_MOVING) { Player* player = this->get_nearest_player(); if (player) { -- 2.11.0