summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_hole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_obj_hole.cpp')
-rw-r--r--src/d/actor/d_a_obj_hole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_obj_hole.cpp b/src/d/actor/d_a_obj_hole.cpp
index 1645f174..31f1dee8 100644
--- a/src/d/actor/d_a_obj_hole.cpp
+++ b/src/d/actor/d_a_obj_hole.cpp
@@ -209,7 +209,7 @@ void daObj_Hole_c::createInit() {
fopAcM_setCullSizeFar(this, 10.0f);
mAcchCir.SetWall(100.0f, 10.0f);
- mAcch.Set(&current.pos, &old.pos, this, 1, &mAcchCir, &speed);
+ mAcch.Set(fopAcM_GetPosition_p(this), fopAcM_GetOldPosition_p(this), this, 1, &mAcchCir, fopAcM_GetSpeed_p(this));
mAcch.SetWallNone();
mAcch.SetRoofNone();