summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_tbox.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-24 18:54:46 -0400
committerGitHub <noreply@github.com>2025-05-24 18:54:46 -0400
commit7cd75e8f7b01a45ca8c72facfd5b4a3c1906c0e1 (patch)
treeece493d144cfcb3af860c2af8fa0480491f69706 /src/d/actor/d_a_tbox.cpp
parent4a29f64e6bf5a06a541161638913f51c51d8a633 (diff)
Demo matches (#767)
Diffstat (limited to 'src/d/actor/d_a_tbox.cpp')
-rw-r--r--src/d/actor/d_a_tbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_tbox.cpp b/src/d/actor/d_a_tbox.cpp
index 3d345118..c093faff 100644
--- a/src/d/actor/d_a_tbox.cpp
+++ b/src/d/actor/d_a_tbox.cpp
@@ -556,7 +556,7 @@ void daTbox_c::CreateInit() {
if (funcType == FUNC_TYPE_GRAVITY) {
mAcchCir.SetWall(30.0f, 0.0f);
- mObjAcch.Set(&current.pos, &old.pos, this, 1, &mAcchCir, &speed);
+ mObjAcch.Set(fopAcM_GetPosition_p(this), fopAcM_GetOldPosition_p(this), this, 1, &mAcchCir, fopAcM_GetSpeed_p(this));
gravity = -2.5f;
}