mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
* fixed relative paths for md2 skinnames (supported textures are defined in the gamepack)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@204 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
79d5023db9
commit
12c1300125
1 changed files with 1 additions and 2 deletions
|
@ -258,8 +258,7 @@ void MD2Surface_read(Model& model, const byte* buffer, ArchiveFile& file)
|
|||
path[i] = '\0';
|
||||
}
|
||||
// globalErrorStream() << "modified skinname: " << path << " (path) and " << skinnameRelative << " (texture)" << "\n";
|
||||
// TODO: search for tga, png, jpg (this order)
|
||||
snprintf(skinname, MD2_MAX_SKINNAME, "%s%s.jpg", path, &skinnameRelative[1]);
|
||||
snprintf(skinname, MD2_MAX_SKINNAME, "%s%s", path, &skinnameRelative[1]);
|
||||
// globalErrorStream() << skinname << "\n";
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue