ref: 5fa2d4720c77d1e2c9336205e358cf8e2987ab67
parent: dc8a83a16e5a78c6c0e74a0441fface3c291f735
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();
--
⑨