- 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:
Regalis
2016-05-10 18:46:42 +03:00
parent e7a06a6171
commit a9ceaeb8ec
6 changed files with 36 additions and 52 deletions
+4 -1
View File
@@ -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);
}
}