X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbadguy%2Flivefire.cpp;h=1fa5cba08358424f053f290a3c57ba254e371b7c;hb=11982dd645a1b98a22950c02a869713f7aa592de;hp=b627c4934b2c1c173b06ee604b450816081e1c4e;hpb=729ab543adbc83a8cecfa3c9aeaa831de9918866;p=supertux.git 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) {