- fixed ruin doors being placed outside corridors if the corridor passes through multiple rooms
- fog of war isn't drawn or updated when not controlling a character - fixed topmost cells in the level not being placed in the cellgrid array, causing them to be ignored when enlarging the main path for the sub - fixed slices of the diving suit sprite "bleeding" into the torso sprite
This commit is contained in:
@@ -316,7 +316,10 @@ namespace Barotrauma
|
||||
|
||||
GameMain.LightManager.DrawLightMap(spriteBatch, cam, blurEffect);
|
||||
|
||||
GameMain.LightManager.DrawLOS(graphics, spriteBatch, cam, blurEffect);
|
||||
if (Character.Controlled != null)
|
||||
{
|
||||
GameMain.LightManager.DrawLOS(graphics, spriteBatch, cam, blurEffect);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user