aboutsummaryrefslogtreecommitdiff
path: root/universe.c
diff options
context:
space:
mode:
Diffstat (limited to 'universe.c')
-rw-r--r--universe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/universe.c b/universe.c
index be481c9..bce345c 100644
--- a/universe.c
+++ b/universe.c
@@ -48,10 +48,11 @@ ship_fire(Ship *s)
0, 0, 1,
};
- bv = mulpt2(xform(Vec2(1,0), R), 10*THRUST);
+ bv = mulpt2(xform(Vec2(1,0), R), THRUST);
for(i = 0; i < nelem(s->rounds); i++)
if(!s->rounds[i].fired){
+ s->rounds[i].p = s->p;
s->rounds[i].v = addpt2(s->v, bv);
s->rounds[i].θ = s->θ;
s->rounds[i].fired++;