Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/collision.cc')
-rw-r--r--src/game/base/collision.cc2
1 files changed, 1 insertions, 1 deletions
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");
}
}