SupSuper/OpenXcom — pull request #847 by DarkDefender (2014-06-05 19:26:07+00:00)
Title: Fix explosiveEfficacy logic error

There was a logic error that caused the explosiveEfficacy function to not correctly check whom the explosion would affect. This lead to grenades nearly not being thrown by the AI even if it would kill up to 9 people without any casualties on it own side. I would also cause the AI to throw grenades where it would only kill themselves.