improved harpoon gun, misc ui stuff & bugfixes

This commit is contained in:
Regalis
2015-05-29 16:29:32 +03:00
parent 80648ffd46
commit 562164af36
27 changed files with 316 additions and 103 deletions
+3 -2
View File
@@ -198,8 +198,9 @@ namespace Subsurface
public Vector2 WorldToScreen(Vector2 coords)
{
Vector2 screenCoords = Vector2.Transform(coords, transform);
return new Vector2(screenCoords.X, screenCoords.Y);
coords.Y = -coords.Y;
//Vector2 screenCoords = Vector2.Transform(coords, transform);
return Vector2.Transform(coords, transform);
}
}
}