summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-17 20:24:59 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-17 20:24:59 +0200
commite44704dc8290918a22e8126b44d3037a1e857d7e (patch)
tree909d9b5661ed6ac40ce5d05efbc68d13dfa56ef3 /src/control
parentfix clipped subtitles (diff)
downloadre3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar.gz
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar.bz2
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar.lz
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar.xz
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.tar.zst
re3-e44704dc8290918a22e8126b44d3037a1e857d7e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Replay.cpp9
-rw-r--r--src/control/Script.cpp1
2 files changed, 7 insertions, 3 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index 6f9ad156..4407254c 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -111,9 +111,14 @@ static void(*CBArray[])(CAnimBlendAssociation*, void*) =
nil, &CPed::PedGetupCB, &CPed::PedStaggerCB, &CPed::PedEvadeCB, &CPed::FinishDieAnimCB,
&CPed::FinishedWaitCB, &CPed::FinishLaunchCB, &CPed::FinishHitHeadCB, &CPed::PedAnimGetInCB, &CPed::PedAnimDoorOpenCB,
&CPed::PedAnimPullPedOutCB, &CPed::PedAnimDoorCloseCB, &CPed::PedSetInCarCB, &CPed::PedSetOutCarCB, &CPed::PedAnimAlignCB,
- &CPed::PedSetDraggedOutCarCB, &CPed::PedAnimStepOutCarCB, &CPed::PedSetInTrainCB, &CPed::PedSetOutTrainCB, &CPed::FinishedAttackCB,
+ &CPed::PedSetDraggedOutCarCB, &CPed::PedAnimStepOutCarCB, &CPed::PedSetInTrainCB,
+#ifdef GTA_TRAIN
+ &CPed::PedSetOutTrainCB,
+#endif
+ &CPed::FinishedAttackCB,
&CPed::FinishFightMoveCB, &PhonePutDownCB, &PhonePickUpCB, &CPed::PedAnimDoorCloseRollingCB, &CPed::FinishJumpCB,
- &CPed::PedLandCB, &FinishFuckUCB, &CPed::RestoreHeadingRateCB, &CPed::PedSetQuickDraggedOutCarPositionCB, &CPed::PedSetDraggedOutCarPositionCB
+ &CPed::PedLandCB, &CPed::RestoreHeadingRateCB, &CPed::PedSetQuickDraggedOutCarPositionCB, &CPed::PedSetDraggedOutCarPositionCB,
+ &CPed::FinishedReloadCB, &StartTalkingOnMobileCB, &FinishTalkingOnMobileCB
};
static uint8 FindCBFunctionID(void(*f)(CAnimBlendAssociation*, void*))
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index b1cf44c6..f90e7fb5 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -10877,7 +10877,6 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_POP_CAR_BOOT:
{
CollectParameters(&m_nIp, 1);
- CollectParameters(&m_nIp, 1);
CAutomobile* pCar = (CAutomobile*)CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
assert(pCar&& pCar->IsCar());
pCar->PopBoot();