aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_path_point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ad/ad_path_point.cpp')
-rw-r--r--engines/wintermute/ad/ad_path_point.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_path_point.cpp b/engines/wintermute/ad/ad_path_point.cpp
index f3ccd264b1..be4b487466 100644
--- a/engines/wintermute/ad/ad_path_point.cpp
+++ b/engines/wintermute/ad/ad_path_point.cpp
@@ -67,7 +67,7 @@ bool AdPathPoint::persist(BasePersistenceManager *persistMgr) {
persistMgr->transfer(TMEMBER(_distance));
persistMgr->transfer(TMEMBER(_marked));
- persistMgr->transfer(TMEMBER(_origin));
+ persistMgr->transferPtr(TMEMBER_PTR(_origin));
return STATUS_OK;
}