summaryrefslogtreecommitdiff
path: root/src/d/msg/d_msg_class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/msg/d_msg_class.cpp')
-rw-r--r--src/d/msg/d_msg_class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/msg/d_msg_class.cpp b/src/d/msg/d_msg_class.cpp
index a7851261dd..5ef974714a 100644
--- a/src/d/msg/d_msg_class.cpp
+++ b/src/d/msg/d_msg_class.cpp
@@ -847,7 +847,7 @@ void jmessage_tReference::calcDistance() {
mDistanceScale = 1.0f;
} else {
fopAc_ac_c* player = dComIfGp_getPlayer(0);
- (mActorPos - player->mAttentionInfo.mPosition).absXZ();
+ (mActorPos - player->attention_info.position).absXZ();
mDistanceScale = 1.0f;
}
}