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:
parent
3f2d3721de
commit
59ed389a6e
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ dobody(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
b = body();
|
b = body();
|
||||||
|
b->Vector = tovector(mc->xy);
|
||||||
setvel(b);
|
setvel(b);
|
||||||
setsize(b);
|
setsize(b);
|
||||||
b->col = randcol();
|
b->col = randcol();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue