ref: 59ed389a6eb7d405eb44d9644d69993e814dccdf
parent: 3f2d3721ded93048c8f8897a3c28e61852475e7e
author: spew <devnull@localhost>
date: Sun Mar 12 14:52:36 EDT 2017
games/galaxy: fix creation of new bodies I accidentally deleted the line that sets the initial position of the vector
--- a/sys/src/games/galaxy/galaxy.c
+++ b/sys/src/games/galaxy/galaxy.c
@@ -265,6 +265,7 @@
}
b = body();
+ b->Vector = tovector(mc->xy);
setvel(b);
setsize(b);
b->col = randcol();