fixed distance computation problem
This commit is contained in:
parent
6549ead866
commit
635727942a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class BuildingItem implements IBuilder {
|
|||
|
||||
// Since the item is going to travel up as well, this is an
|
||||
// approximation of the additional distance to go through.
|
||||
maxLifetime += c * 2;
|
||||
maxLifetime = c * 2;
|
||||
|
||||
vx = dx / maxLifetime;
|
||||
vy = dy / maxLifetime;
|
||||
|
|
Loading…
Add table
Reference in a new issue