mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 15:24:09 +00:00
replays bug fix
This commit is contained in:
parent
522d14814f
commit
c4cd45d47c
12 changed files with 198 additions and 96 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue