diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-03-02 01:03:39 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-03-02 01:06:52 +0100 |
commit | a718e699ad3666f7309d7d922f929e9ec52d96d8 (patch) | |
tree | ee6cb8fbeec9622d4dd7dab02022592540de30ff /src/core/FileLoader.cpp | |
parent | Merge pull request #336 from Nick007J/master (diff) | |
download | re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.gz re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.bz2 re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.lz re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.xz re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.zst re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/FileLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp index b49fccbb..6305bf33 100644 --- a/src/core/FileLoader.cpp +++ b/src/core/FileLoader.cpp @@ -952,9 +952,9 @@ CFileLoader::Load2dEffect(const char *line) effect->light.lightType = lightType; effect->light.roadReflection = roadReflection; effect->light.flareType = flare; - // TODO: check out the flags - if(flags & 4) - flags &= ~2; + + if(flags & LIGHTFLAG_FOG_ALWAYS) + flags &= ~LIGHTFLAG_FOG_NORMAL; effect->light.flags = flags; break; |