summaryrefslogtreecommitdiff
path: root/src/d/msg/d_msg_flow.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-10-03 15:26:26 -0700
committerGitHub <noreply@github.com>2022-10-03 18:26:26 -0400
commit4913395dbd1a33d794028ceb82579b4baffe954d (patch)
treefde72809184e4365eae205b26b14d5fee5698dcd /src/d/msg/d_msg_flow.cpp
parent03094905214e54b97414be8e6049abe491f3ff16 (diff)
d_camera / m_Do_ext / d_particle + minor various wip (#210)
Diffstat (limited to 'src/d/msg/d_msg_flow.cpp')
-rw-r--r--src/d/msg/d_msg_flow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/msg/d_msg_flow.cpp b/src/d/msg/d_msg_flow.cpp
index b86c853db1..7887fcfeda 100644
--- a/src/d/msg/d_msg_flow.cpp
+++ b/src/d/msg/d_msg_flow.cpp
@@ -1806,10 +1806,10 @@ int dMsgFlow_c::event018(mesg_flow_node_event* flow_node, fopAc_ac_c* actor) {
if (actor != NULL) {
int stayNo = dComIfGp_roomControl_getStayNo();
if (stayNo != 0) {
- mDoAud_messageSePlay(field_0x45, &actor->mCurrent.mPosition,
+ mDoAud_messageSePlay(field_0x45, &actor->current.pos,
dComIfGp_getReverb(stayNo));
} else {
- mDoAud_messageSePlay(field_0x45, &actor->mCurrent.mPosition, 0);
+ mDoAud_messageSePlay(field_0x45, &actor->current.pos, 0);
}
} else {
int stayNo = dComIfGp_roomControl_getStayNo();
@@ -1839,7 +1839,7 @@ int dMsgFlow_c::event020(mesg_flow_node_event* flow_node, fopAc_ac_c* actor) {
for (int i = 0; i < room->mRoomDt.getPlayerNum(); i++, actor_data++) {
if ((u8)actor_data->mAngle.z == prm0) {
- player->setPlayerPosAndAngle(&actor_data->mSpawnPos, player->mCurrent.mAngle.y, 0);
+ player->setPlayerPosAndAngle(&actor_data->mSpawnPos, player->current.angle.y, 0);
break;
}
}