mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 21:10:34 +00:00
Merge pull request #474 from Nick007J/master
Bug fixes, mostly replay; added RegisterReference for player ped pointer
This commit is contained in:
commit
0f07a323c9
12 changed files with 200 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