mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 14:10:58 +00:00
Fixes and cleanup
This commit is contained in:
@ -952,9 +952,9 @@ CFileLoader::Load2dEffect(const char *line)
|
||||
effect->light.lightType = lightType;
|
||||
effect->light.roadReflection = roadReflection;
|
||||
effect->light.flareType = flare;
|
||||
// TODO: check out the flags
|
||||
if(flags & 4)
|
||||
flags &= ~2;
|
||||
|
||||
if(flags & LIGHTFLAG_FOG_ALWAYS)
|
||||
flags &= ~LIGHTFLAG_FOG_NORMAL;
|
||||
effect->light.flags = flags;
|
||||
break;
|
||||
|
||||
|
@ -387,7 +387,7 @@ CPlayerInfo::Process(void)
|
||||
|
||||
// Because vehicle enter/exit use same key binding.
|
||||
bool enterOrExitVeh;
|
||||
if (m_pPed->m_ped_flagI4 && m_pPed->bInVehicle)
|
||||
if (m_pPed->bVehExitWillBeInstant && m_pPed->bInVehicle)
|
||||
enterOrExitVeh = CPad::GetPad(0)->ExitVehicleJustDown();
|
||||
else
|
||||
enterOrExitVeh = CPad::GetPad(0)->GetExitVehicle();
|
||||
|
Reference in New Issue
Block a user