summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp
index 6b338635..e2ebdb49 100644
--- a/src/scenery.cpp
+++ b/src/scenery.cpp
@@ -152,15 +152,6 @@ bool scenery::is_mesh_modified(const scenery& s0, const scenery& s)
return false;
}
-bool scenery::is_collision_modified(const scenery& s0, const scenery& s)
-{
- // passability value is stored as object's id
- // so don't optimize into (s.pass == pass) != (s0.pass == pass)
- return s.r != s0.r || s.passability != s0.passability ||
- s.offset != s0.offset ||
- s.bbox_offset != s0.bbox_offset || s.bbox_size != s0.bbox_size;
-}
-
#ifdef __GNUG__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"