More resharper cleanup

This commit is contained in:
Regalis11
2015-06-07 18:03:08 +03:00
parent f786cd3016
commit 34b79c85d6
62 changed files with 99 additions and 195 deletions

View File

@@ -251,7 +251,7 @@ namespace Subsurface
public static bool InsideWall(Vector2 point)
{
Body foundBody = Map.PickBody(point);
Body foundBody = PickBody(point);
if (foundBody==null) return false;
Structure wall = foundBody.UserData as Structure;
@@ -286,7 +286,7 @@ namespace Subsurface
try
{
string docString = doc.ToString();
//string docString = doc.ToString();
ToolBox.CompressStringToFile(filePath+".gz", doc.ToString());
}
catch
@@ -342,7 +342,7 @@ namespace Subsurface
public Map(string filePath, string mapHash="")
{
this.filePath = filePath;
this.name = Path.GetFileNameWithoutExtension(filePath);
name = Path.GetFileNameWithoutExtension(filePath);
if (mapHash != "")
{