fixed immortal elly

This commit is contained in:
laochailan 2012-08-11 14:24:58 +02:00
parent fa973116a3
commit 9e6ae8cbb4

View file

@ -154,7 +154,7 @@ void player_logic(Player* plr) {
if(global.frames - plr->recovery < 0) {
Enemy *en;
for(en = global.enemies; en; en = en->next)
if(!en->unbombable)
if(!en->unbombable && en->hp > ENEMY_IMMUNE)
en->hp -= 300;
Projectile *p;