mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
961254088e
SSC is a 2D space shoot-em-up featuring interesting physics and alife. Destroy all enemies on screen to proceed to the next level. Inherits a lot of ideas from the game Koules. PR: 61507 Submitted by: Igor Pokrovsky <tiamat@comset.net>
12 lines
278 B
C++
12 lines
278 B
C++
--- src/damage.cc.orig Sat Jan 17 17:31:55 2004
|
|
+++ src/damage.cc Sat Jan 17 17:32:04 2004
|
|
@@ -44,7 +44,7 @@
|
|
{
|
|
if (obj.mFlocking)
|
|
{
|
|
- double d = distance(mPosition, obj.mPosition);
|
|
+ double d = dist(mPosition, obj.mPosition);
|
|
if (d > 0 && d < 50) interact(obj);
|
|
}
|
|
|