misc optimization & refactoring

This commit is contained in:
Regalis
2015-09-29 18:03:38 +03:00
parent cc16bb3ad7
commit 45178e745b
30 changed files with 820 additions and 210 deletions

View File

@@ -80,9 +80,9 @@ namespace Subsurface
if (!path.EndsWith("/")) path += "/";
}
file = path + file;
texture = LoadTexture(file);
this.file = path + file;
texture = LoadTexture(this.file);
if (texture == null) return;