mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-12 02:08:15 +08:00
Fixes and cleanup
This commit is contained in:
1 parent
f72453d03e
commit
a718e699ad
11 files changed
+122
-92
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user