games/galaxy: fix creation of new bodies

I accidentally deleted the line that sets the initial
position of the vector
This commit is contained in:
spew 2017-03-12 18:52:36 -05:00
parent 3f2d3721de
commit 59ed389a6e

View file

@ -265,6 +265,7 @@ dobody(void)
}
b = body();
b->Vector = tovector(mc->xy);
setvel(b);
setsize(b);
b->col = randcol();