aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarity/ActorManager.cs
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-05-31 11:24:29 -0500
committerBen Beltran <ben@nsovocal.com>2014-05-31 11:24:29 -0500
commit8bdfcb11a2c1023c684093c0f19f3cc65799e0f8 (patch)
tree7f46b5f9c2d6df58d718bff6b0569a4f19880678 /SuperPolarity/ActorManager.cs
parent078dd693a22cc6793cf6f0f64820369cc606edf6 (diff)
Move some files around, relink
Diffstat (limited to 'SuperPolarity/ActorManager.cs')
-rw-r--r--SuperPolarity/ActorManager.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/SuperPolarity/ActorManager.cs b/SuperPolarity/ActorManager.cs
index f5587b9..56db26c 100644
--- a/SuperPolarity/ActorManager.cs
+++ b/SuperPolarity/ActorManager.cs
@@ -68,7 +68,9 @@ namespace SuperPolarity
{
Actor other = Actors[j];
- CheckCollision(actor, other);
+ if (actor.Collides && other.Collides) {
+ CheckCollision(actor, other);
+ }
if (actor.GetType().IsSubclassOf(typeof(Ship)) && other.GetType().IsSubclassOf(typeof(Ship)))
{