mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 14:20:33 +00:00
Fixes for aap review (audio8)
This commit is contained in:
parent
fef3b5f978
commit
8808e6fdfe
11 changed files with 1247 additions and 2322 deletions
|
@ -4388,7 +4388,7 @@ CPed::SetEvasiveStep(CEntity *reason, uint8 animType)
|
|||
neededTurn = 2 * PI - neededTurn;
|
||||
|
||||
CVehicle *veh = (CVehicle*)reason;
|
||||
if (reason->IsVehicle() && veh->m_vehType == VEHICLE_TYPE_AUTOMOBILE) {
|
||||
if (reason->IsVehicle() && veh->m_vehType == VEHICLE_TYPE_CAR) {
|
||||
if (veh->m_nCarHornTimer) {
|
||||
vehPressedHorn = true;
|
||||
if (!IsPlayer())
|
||||
|
@ -4456,7 +4456,7 @@ CPed::SetEvasiveDive(CPhysical *reason, uint8 onlyRandomJump)
|
|||
|
||||
angleToFace = m_fRotationCur;
|
||||
CVehicle *veh = (CVehicle*) reason;
|
||||
if (reason->IsVehicle() && veh->m_vehType == VEHICLE_TYPE_AUTOMOBILE && veh->m_nCarHornTimer && !IsPlayer()) {
|
||||
if (reason->IsVehicle() && veh->m_vehType == VEHICLE_TYPE_CAR && veh->m_nCarHornTimer && !IsPlayer()) {
|
||||
onlyRandomJump = true;
|
||||
}
|
||||
|
||||
|
@ -7245,7 +7245,7 @@ CPed::Seek(void)
|
|||
false, true, false, false, false, false);
|
||||
|
||||
if (obstacle) {
|
||||
if (!obstacle->IsVehicle() || ((CVehicle*)obstacle)->m_vehType == VEHICLE_TYPE_AUTOMOBILE) {
|
||||
if (!obstacle->IsVehicle() || ((CVehicle*)obstacle)->m_vehType == VEHICLE_TYPE_CAR) {
|
||||
distanceToCountItDone = 2.5f;
|
||||
} else {
|
||||
CVehicleModelInfo *vehModel = (CVehicleModelInfo*) CModelInfo::GetModelInfo(obstacle->m_modelIndex);
|
||||
|
@ -8481,7 +8481,7 @@ CPed::KillPedWithCar(CVehicle *car, float impulse)
|
|||
if (damageDir > 3)
|
||||
damageDir = damageDir - 4;
|
||||
|
||||
if (car->m_vehType == VEHICLE_TYPE_AUTOMOBILE) {
|
||||
if (car->m_vehType == VEHICLE_TYPE_CAR) {
|
||||
CObject *bonnet = ((CAutomobile*)car)->RemoveBonnetInPedCollision();
|
||||
|
||||
if (bonnet) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue