mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-15 19:00:32 +00:00
Merge branch 'master' into miami
# Conflicts: # src/control/Garages.cpp # src/core/Frontend.cpp # src/peds/PlayerPed.cpp # src/render/Hud.cpp # src/vehicles/Train.cpp
This commit is contained in:
commit
1c01899799
26 changed files with 88 additions and 52 deletions
|
@ -185,6 +185,9 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
|
|||
m_queuedSound = SOUND_NO_SOUND;
|
||||
m_objective = OBJECTIVE_NONE;
|
||||
m_prevObjective = OBJECTIVE_NONE;
|
||||
#ifdef FIX_BUGS
|
||||
m_objectiveTimer = 0;
|
||||
#endif
|
||||
CharCreatedBy = RANDOM_CHAR;
|
||||
m_leader = nil;
|
||||
m_pedInObjective = nil;
|
||||
|
@ -244,6 +247,9 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
|
|||
m_nPedState = PED_IDLE;
|
||||
m_nLastPedState = PED_NONE;
|
||||
m_nMoveState = PEDMOVE_STILL;
|
||||
#ifdef FIX_BUGS
|
||||
m_nPrevMoveState = PEDMOVE_NONE;
|
||||
#endif
|
||||
m_nStoredMoveState = PEDMOVE_NONE;
|
||||
m_pFire = nil;
|
||||
m_pPointGunAt = nil;
|
||||
|
|
|
@ -40,6 +40,9 @@ CPlayerPed::CPlayerPed(void) : CPed(PEDTYPE_PLAYER1)
|
|||
{
|
||||
m_fMoveSpeed = 0.0f;
|
||||
SetModelIndex(MI_PLAYER);
|
||||
#ifdef FIX_BUGS
|
||||
m_fCurrentStamina = m_fMaxStamina = 150.0f;
|
||||
#endif
|
||||
SetInitialState();
|
||||
|
||||
m_pWanted = new CWanted();
|
||||
|
@ -56,8 +59,9 @@ CPlayerPed::CPlayerPed(void) : CPed(PEDTYPE_PLAYER1)
|
|||
|
||||
m_pPointGunAt = nil;
|
||||
SetPedState(PED_IDLE);
|
||||
m_fMaxStamina = 150.0f;
|
||||
m_fCurrentStamina = m_fMaxStamina;
|
||||
#ifndef FIX_BUGS
|
||||
m_fCurrentStamina = m_fMaxStamina = 150.0f;
|
||||
#endif
|
||||
m_fStaminaProgress = 0.0f;
|
||||
m_nEvadeAmount = 0;
|
||||
m_pEvadingFrom = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue