1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/ssc/files/patch-src-damage.cc
Kirill Ponomarev 961254088e Add games/ssc-0.8,
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>
2004-01-18 09:32:17 +00:00

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);
}