Updated SurfaceSkin to take the path property.

This commit is contained in:
Jordon Moss 2016-07-16 04:06:36 -03:00 committed by Christoph Oelckers
parent 6014bde3d0
commit 1ef8057fa7

View file

@ -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",