Fixes and cleanup

This commit is contained in:
eray orçunus committed 2020-03-02 03:06:52 +03:00
1 parent f72453d03e
commit a718e699ad
11 files changed
+122 -92

No files matched your search

+3 -3
View File
@@ -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;