Camera isn't clamped to the top of the level, but there's a black rect that hides everything above the top "wall"

This commit is contained in:
Regalis
2016-08-05 14:06:54 +03:00
parent d55926a352
commit 9209e093d7
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ namespace Barotrauma
public override void Draw(double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
{
cam.UpdateTransform(true, !GameMain.DebugDraw);
cam.UpdateTransform(true);
DrawMap(graphics, spriteBatch);