mirror of
https://github.com/halpz/re3.git
synced 2025-06-26 20:46:21 +00:00
Merge pull request #474 from Nick007J/master
Bug fixes, mostly replay; added RegisterReference for player ped pointer
This commit is contained in:
@ -13,6 +13,9 @@
|
||||
#include "Weather.h"
|
||||
#include "ModelIndices.h"
|
||||
#include "RenderBuffer.h"
|
||||
#ifdef FIX_BUGS
|
||||
#include "Replay.h"
|
||||
#endif
|
||||
#include "PointLights.h"
|
||||
#include "SpecialFX.h"
|
||||
#include "Shadows.h"
|
||||
@ -1609,6 +1612,10 @@ CShadows::CalcPedShadowValues(CVector vecLightDir,
|
||||
void
|
||||
CShadows::RenderExtraPlayerShadows(void)
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
if (CReplay::IsPlayingBack())
|
||||
return;
|
||||
#endif
|
||||
if ( CTimeCycle::GetLightShadowStrength() != 0 )
|
||||
{
|
||||
CVehicle *pCar = FindPlayerVehicle();
|
||||
|
Reference in New Issue
Block a user