diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-22 16:41:03 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-22 16:41:03 +0200 |
commit | ab161d12d8cf0326bf072777b7eeef31e8cd516c (patch) | |
tree | d9fb154d49338cab92e278fc34952386daa9e314 /src/entities/Entity.cpp | |
parent | opus support (diff) | |
parent | fixes for CPhysical and friends (diff) | |
download | re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.gz re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.bz2 re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.lz re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.xz re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.zst re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.zip |
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index ec50dd30..a9b6b2b8 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -683,7 +683,7 @@ CEntity::ProcessLightsForEntity(void) lightOn = true; break; case LIGHT_FLICKER_NIGHT: - if(CClock::GetHours() > 18 || CClock::GetHours() < 7){ + if(CClock::GetHours() > 18 || CClock::GetHours() < 7 || CWeather::WetRoads > 0.5f){ if((CTimer::GetTimeInMilliseconds() ^ m_randomSeed) & 0x60) lightOn = true; else |