- 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
+1 -1
View File
@@ -71,7 +71,7 @@ namespace Barotrauma.Lights
public void DrawLOS(GraphicsDevice graphics, SpriteBatch spriteBatch, Camera cam, Effect effect)
{
//if (!LosEnabled || ViewTarget==null) return;
if (!LosEnabled || ViewTarget==null) return;
//Vector2 pos = ViewTarget.WorldPosition;