aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r--src/content_cao.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index ee1009b6c..84fc0bf79 100644
--- a/src/content_cao.cpp
+++ b/src/content_cao.cpp
@@ -1129,6 +1129,7 @@ public:
{
LocalPlayer *player = m_env->getLocalPlayer();
player->overridePosition = getParent()->getPosition();
+ m_env->getLocalPlayer()->parent = getParent();
}
}
else