Fixed barriers bouncing off and killing each other.

This commit is contained in:
Julie Marchant 2019-06-19 17:55:59 -04:00
parent f2ef6a50df
commit c0216735db
1 changed files with 1 additions and 0 deletions

View File

@ -1811,6 +1811,7 @@ void alien_move(Object *alien)
{
if ((aliens[i].owner != alien) && (aliens[i].active) &&
(aliens[i].shield > 0) && (!(aliens[i].flags & FL_LEAVESECTOR)) &&
(alien->classDef != CD_BARRIER) &&
ship_collision(alien, &aliens[i]))
{
if ((game.difficulty == DIFFICULTY_ORIGINAL) && (alien->classDef != CD_DRONE) &&