summaryrefslogtreecommitdiff
path: root/src/d/d_throwstone.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-11-24 18:06:07 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-11-24 18:06:07 -0500
commit97eb1fb31fb57ee96669f8a83848cb0327797180 (patch)
treee628a3110a9d3f2b60ca5d9df0e7c8f55e6be283 /src/d/d_throwstone.cpp
parent072f172d50878964e0636619e4a3d9a14f1d2c47 (diff)
Remove fake inlines from fopAc_ac_c, add real inlines
Diffstat (limited to 'src/d/d_throwstone.cpp')
-rw-r--r--src/d/d_throwstone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_throwstone.cpp b/src/d/d_throwstone.cpp
index 81e43fac..a28df76c 100644
--- a/src/d/d_throwstone.cpp
+++ b/src/d/d_throwstone.cpp
@@ -53,7 +53,7 @@ s32 daThrowstone_c::_create() {
if (!fopAcM_entrySolidHeap(this, (heapCallbackFunc)CheckCreateHeap, 0x4C0)) {
result = cPhs_ERROR_e;
} else {
- mDoMtx_stack_c::transS(getPosition());
+ mDoMtx_stack_c::transS(current.pos);
mDoMtx_stack_c::YrotM(shape_angle.y);
mDoMtx_stack_c::scaleM(mScale);
@@ -106,7 +106,7 @@ bool daThrowstone_c::_draw() {
if (!dComIfGs_isEventBit(0x0310))
return TRUE;
- g_env_light.settingTevStruct(TEV_TYPE_ACTOR, getPositionP(), &mTevStr);
+ g_env_light.settingTevStruct(TEV_TYPE_ACTOR, &current.pos, &mTevStr);
g_env_light.setLightTevColorType(mpModel, &mTevStr);
mDoExt_modelUpdateDL(mpModel);