diff options
author | asami <asami@FreeBSD.org> | 1997-02-16 10:33:44 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-02-16 10:33:44 +0000 |
commit | f866876eaf59cb53606a9a4aaf4ccbb6d9829c14 (patch) | |
tree | f0c667691ccc25c192d63baf3009039916c7f3f7 /games | |
parent | b8243fbb667b0829f9585cc59d04e4250a9e1e19 (diff) | |
download | FreeBSD-ports-f866876eaf59cb53606a9a4aaf4ccbb6d9829c14.zip FreeBSD-ports-f866876eaf59cb53606a9a4aaf4ccbb6d9829c14.tar.gz |
Umm, "#" is not a comment character in C. ;)
Diffstat (limited to 'games')
-rw-r--r-- | games/xspringies/files/patch-01 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/xspringies/files/patch-01 b/games/xspringies/files/patch-01 index f4c6f8e..2b7a99a 100644 --- a/games/xspringies/files/patch-01 +++ b/games/xspringies/files/patch-01 @@ -1,6 +1,6 @@ --- phys.c.orig Mon Mar 29 06:26:52 1993 +++ phys.c Sat Feb 15 16:54:26 1997 -@@ -212,11 +212,16 @@ +@@ -212,11 +212,15 @@ mass1 = m1->mass; mass2 = m2->mass; @@ -10,7 +10,6 @@ - m2->ax -= forcex / mass2; - m2->ay -= forcey / mass2; + -+ # gives "signal SIGFPE, Arithmetic exception" w/o the tests + if (mass1 != 0) { + m1->ax += forcex / mass1; + m1->ay += forcey / mass1; |