summaryrefslogtreecommitdiff
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-07 21:44:43 +0300
committereray orçunus <erayorcunus@gmail.com>2020-06-07 21:44:54 +0300
commite07b6fdce73884de93dbefd7056b3a04d2f4898c (patch)
tree203809f8025866131892e0c17b05fd0c9ec05623 /src/core/World.cpp
parent23f20ceaf81d519855ce374ad537f8c37a43f9bc (diff)
Message box, letterbox and ped attaching
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 53d36854..ecf17575 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -2064,6 +2064,10 @@ CWorld::Process(void)
movingPed->bInVehicle = false;
movingPed->QuitEnteringCar();
}
+ } else if (movingPed->m_attachedTo) {
+ movingPed->PositionAttachedPed();
+ movingPed->GetMatrix().UpdateRW();
+ movingPed->UpdateRwFrame();
}
}
}