diff options
| author | spew <devnull@localhost> | 2017-03-12 18:52:36 -0500 |
|---|---|---|
| committer | spew <devnull@localhost> | 2017-03-12 18:52:36 -0500 |
| commit | 59ed389a6eb7d405eb44d9644d69993e814dccdf (patch) | |
| tree | 936f7015b9debcdc33b22336c4da543fd7cad4a4 | |
| parent | 3f2d3721ded93048c8f8897a3c28e61852475e7e (diff) | |
| download | plan9front-59ed389a6eb7d405eb44d9644d69993e814dccdf.tar.xz | |
games/galaxy: fix creation of new bodies
I accidentally deleted the line that sets the initial
position of the vector
| -rw-r--r-- | sys/src/games/galaxy/galaxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/games/galaxy/galaxy.c b/sys/src/games/galaxy/galaxy.c index 57f9b7bbb..a51d2c917 100644 --- a/sys/src/games/galaxy/galaxy.c +++ b/sys/src/games/galaxy/galaxy.c @@ -265,6 +265,7 @@ dobody(void) } b = body(); + b->Vector = tovector(mc->xy); setvel(b); setsize(b); b->col = randcol(); |
