mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 05:53:50 +00:00
Fix light flicker amplitude calculation
This commit is contained in:
parent
c677f7ca27
commit
0ddd0e4edc
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ namespace
|
|||
|
||||
float v = 0.0f;
|
||||
for(int i = 0;i < 3;++i)
|
||||
v += std::sin(fb*time*f[i] + o[1])*m[i];
|
||||
v += std::sin(fb*time*f[i] + o[i])*m[i];
|
||||
return v * s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue