Disable lighting by default on MacOS and Unix. (#283)

The rendering doesn't work at all and it's better that it defaults off for now. It can still be enabled with F6 in game.
This commit is contained in:
Pieter-Jan Briers
2017-07-24 17:44:26 +02:00
committed by Silver
parent 7718d6bdc8
commit 1e5f539d50

View File

@@ -132,6 +132,11 @@ namespace SS14.Client.State.States
public GameScreen(IDictionary<Type, object> managers) : base(managers)
{
if (Environment.OSVersion.Platform == PlatformID.MacOSX || Environment.OSVersion.Platform == PlatformID.Unix)
{
// Disable lighting on non-Windows versions by default because the rendering is broken.
bFullVision = true;
}
}
#region IState Members