mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 03:10:00 +00:00
commit
84fcda618d
|
@ -435,7 +435,7 @@ CPlayerInfo::Process(void)
|
||||||
if (CPad::GetPad(0)->ExitVehicleJustDown()) {
|
if (CPad::GetPad(0)->ExitVehicleJustDown()) {
|
||||||
bool weAreOnBoat = false;
|
bool weAreOnBoat = false;
|
||||||
float lastClosestness = 0.0f;
|
float lastClosestness = 0.0f;
|
||||||
CVehicle *carBelow;
|
CVehicle *carBelow = nil;
|
||||||
CEntity *surfaceBelow = m_pPed->m_pCurrentPhysSurface;
|
CEntity *surfaceBelow = m_pPed->m_pCurrentPhysSurface;
|
||||||
if (surfaceBelow && surfaceBelow->IsVehicle()) {
|
if (surfaceBelow && surfaceBelow->IsVehicle()) {
|
||||||
carBelow = (CVehicle*)surfaceBelow;
|
carBelow = (CVehicle*)surfaceBelow;
|
||||||
|
|
Loading…
Reference in a new issue