mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
Replace * with # in map names, rather than _. Seems to be the "standard" for replacement textures.
This commit is contained in:
parent
32dcda114d
commit
cb241c50bf
1 changed files with 3 additions and 3 deletions
|
@ -82,8 +82,8 @@ Mod_LoadExternalTextures (model_t *mod)
|
|||
continue;
|
||||
|
||||
// replace special flag characters with underscores
|
||||
if (tx->name[0] == '*') {
|
||||
filename = va ("maps/_%s.tga", tx->name + 1);
|
||||
if (tx->name[0] == '*') { // FIXME: translate to # or _?
|
||||
filename = va ("maps/#%s.tga", tx->name + 1);
|
||||
} else {
|
||||
filename = va ("maps/%s.tga", tx->name);
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ Mod_LoadExternalTextures (model_t *mod)
|
|||
|
||||
if (!f) {
|
||||
if (tx->name[0] == '*') {
|
||||
filename = va ("textures/_%s.tga", tx->name + 1);
|
||||
filename = va ("textures/#%s.tga", tx->name + 1);
|
||||
} else {
|
||||
filename = va ("textures/%s.tga", tx->name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue