equal
deleted
inserted
replaced
814 function onGearDelete(gear) |
814 function onGearDelete(gear) |
815 -- Remove hogs that are gone |
815 -- Remove hogs that are gone |
816 if GetGearType(gear) == gtHedgehog then |
816 if GetGearType(gear) == gtHedgehog then |
817 numhhs = numhhs - 1 |
817 numhhs = numhhs - 1 |
818 |
818 |
|
819 if (not gameOver) and (gear == mutant) then |
|
820 mutant = nil |
|
821 mt_hurt = false |
|
822 end |
|
823 |
819 local found |
824 local found |
820 for i=0, #hhs do |
825 for i=0, #hhs do |
821 if hhs[i] == gear then |
826 if hhs[i] == gear then |
822 found = i |
827 found = i |
823 break |
828 break |