mirror of
https://github.com/halpz/re3.git
synced 2025-02-24 18:22:09 +00:00
Merge branch 'miami' into lcs
This commit is contained in:
commit
3377709c4b
@ -457,7 +457,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt
|
|||||||
if (target) {
|
if (target) {
|
||||||
if (target->IsPed()) {
|
if (target->IsPed()) {
|
||||||
ped->m_pFire = fire;
|
ped->m_pFire = fire;
|
||||||
if (target != (CVehicle *)FindPlayerPed()) {
|
if (target != FindPlayerPed()) {
|
||||||
CVector2D pos = target->GetPosition();
|
CVector2D pos = target->GetPosition();
|
||||||
ped->SetFlee(pos, 10000);
|
ped->SetFlee(pos, 10000);
|
||||||
ped->SetMoveAnim();
|
ped->SetMoveAnim();
|
||||||
|
@ -322,8 +322,8 @@ enum Config {
|
|||||||
#define WATER_CHEATS
|
#define WATER_CHEATS
|
||||||
//#define PSP_WATERCANNON
|
//#define PSP_WATERCANNON
|
||||||
|
|
||||||
//#define USE_CUTSCENE_SHADOW_FOR_PED
|
//#define USE_CUTSCENE_SHADOW_FOR_PED // requires COMPATIBLE_SAVES
|
||||||
#define DISABLE_CUTSCENE_SHADOWS
|
//#define DISABLE_CUTSCENE_SHADOWS
|
||||||
|
|
||||||
// Pad
|
// Pad
|
||||||
#if !defined(RW_GL3) && defined(_WIN32)
|
#if !defined(RW_GL3) && defined(_WIN32)
|
||||||
@ -455,4 +455,9 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
|
|||||||
#undef PS2_AUDIO_CHANNELS
|
#undef PS2_AUDIO_CHANNELS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// if these defines are enabled saves are not vanilla compatible without COMPATIBLE_SAVES
|
||||||
|
#ifndef COMPATIBLE_SAVES
|
||||||
|
#undef USE_CUTSCENE_SHADOW_FOR_PED
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VANILLA_DEFINES
|
#endif // VANILLA_DEFINES
|
||||||
|
@ -421,6 +421,7 @@ CPed::~CPed(void)
|
|||||||
nearPed->m_nearPeds[k] = nearPed->m_nearPeds[k + 1];
|
nearPed->m_nearPeds[k] = nearPed->m_nearPeds[k + 1];
|
||||||
nearPed->m_nearPeds[k + 1] = nil;
|
nearPed->m_nearPeds[k + 1] = nil;
|
||||||
}
|
}
|
||||||
|
nearPed->m_nearPeds[ARRAY_SIZE(m_nearPeds) - 1] = nil;
|
||||||
nearPed->m_numNearPeds--;
|
nearPed->m_numNearPeds--;
|
||||||
} else
|
} else
|
||||||
j++;
|
j++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user