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->Vector = tovector(mc->xy);
|
||||
setvel(b);
|
||||
setsize(b);
|
||||
b->col = randcol();
|
||||
|
|
Loading…
Reference in a new issue