From 1ef8057fa7df0131f51416b39b0b9f4c8548f980 Mon Sep 17 00:00:00 2001 From: Jordon Moss Date: Sat, 16 Jul 2016 04:06:36 -0300 Subject: [PATCH] Updated SurfaceSkin to take the path property. --- src/gl/models/gl_models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/models/gl_models.cpp b/src/gl/models/gl_models.cpp index b73c42b3b..e686f2cea 100644 --- a/src/gl/models/gl_models.cpp +++ b/src/gl/models/gl_models.cpp @@ -721,7 +721,7 @@ void gl_InitModels() } else { - smf.surfaceskinIDs[index][surface] = LoadSkin("", sc.String); + smf.surfaceskinIDs[index][surface] = LoadSkin(path.GetChars(), sc.String); if (!smf.surfaceskinIDs[index][surface].isValid()) { Printf("Surface Skin '%s' not found in '%s'\n",