Stop shooting upon crawler death
This commit is contained in:
@@ -190,14 +190,10 @@ public class EntityCollisions{
|
||||
yInvExit = y2 - (y1 + h1);
|
||||
}
|
||||
|
||||
float xEntry, yEntry;
|
||||
float xExit, yExit;
|
||||
|
||||
xEntry = xInvEntry / vx1;
|
||||
xExit = xInvExit / vx1;
|
||||
|
||||
yEntry = yInvEntry / vy1;
|
||||
yExit = yInvExit / vy1;
|
||||
float xEntry = xInvEntry / vx1;
|
||||
float xExit = xInvExit / vx1;
|
||||
float yEntry = yInvEntry / vy1;
|
||||
float yExit = yInvExit / vy1;
|
||||
|
||||
float entryTime = Math.max(xEntry, yEntry);
|
||||
float exitTime = Math.min(xExit, yExit);
|
||||
|
||||
Reference in New Issue
Block a user