diff options
author | aap <aap@papnet.eu> | 2020-05-19 21:42:55 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-19 21:42:55 +0200 |
commit | 0b0ba49abc34315f532f9adcdbc277d5275723c7 (patch) | |
tree | eaad5557debdcc21e0936cb47ba9eb975d1431ea /src/entities/Entity.cpp | |
parent | little cleanup of handlingmgr (diff) | |
download | re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.gz re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.bz2 re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.lz re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.xz re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.zst re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.zip |
Diffstat (limited to '')
-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..683a3571 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 |