From f612f19e095b8d0ba49f5bcdec6a582824315d69 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 13 Mar 2010 13:03:33 +0000 Subject: small OS X build fixes ShipModel::search cleanup --- src/game/base/collision.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/base/collision.cc') diff --git a/src/game/base/collision.cc b/src/game/base/collision.cc index 952bba2..e009b7a 100644 --- a/src/game/base/collision.cc +++ b/src/game/base/collision.cc @@ -40,7 +40,7 @@ void Collision::distance_test(core::EntityControlable *first, core::Entity *seco // warning zone: star corona or planet atmosphere if ((second->moduletype() == star_enttype) && (d - r < 50.0f)) { first->owner()->send_warning("^3Warning: entering star corona!^N"); - } else if ((second->moduletype() == planet_enttype) && (d - r < Planet::safe_distance)) { + } else if ((second->moduletype() == planet_enttype) && (d - r < planet_safe_distance)) { first->owner()->send_warning("^3Warning: entering planet gravity well!^N"); } } -- cgit v1.2.3