Skip to content

Commit

Permalink
Disable repel in dogfights (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Sep 12, 2013
1 parent a510e36 commit f25bb1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cdogs/collision.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ CollisionTeam CalcCollisionTeam(int isActor, int actorFlags)
{
// Need to have prisoners collide with everything otherwise they will not
// be "rescued"
if (!isActor || (actorFlags & FLAGS_PRISONER))
if (!isActor || (actorFlags & FLAGS_PRISONER) ||
gCampaign.Entry.mode == CAMPAIGN_MODE_DOGFIGHT)
{
return COLLISIONTEAM_NONE;
}
Expand Down

0 comments on commit f25bb1b

Please sign in to comment.