mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-10 06:31:40 +00:00
Override Mustang & Sally sides to both use the same texture
This commit is contained in:
parent
dcf2278925
commit
7e164cdc6c
1 changed files with 16 additions and 0 deletions
|
@ -2102,6 +2102,22 @@ void *Mod_LoadAllSkins (int numskins, daliasskintype_t *pskintype)
|
|||
|
||||
pskintype = (daliasskintype_t *)((byte *)(pskintype+1) + s);
|
||||
return (void *)pskintype;
|
||||
} else {
|
||||
//
|
||||
// General texture override stuff.
|
||||
//
|
||||
|
||||
// Mustang & Sally // v_biatch
|
||||
if (strcmp(loadmodel->name, "models/weapons/m1911/v_biatch_left.mdl") == 0 ||
|
||||
strcmp(loadmodel->name, "models/weapons/m1911/v_biatch_right.mdl") == 0) {
|
||||
pheader->gl_texturenum[i][0] =
|
||||
pheader->gl_texturenum[i][1] =
|
||||
pheader->gl_texturenum[i][2] =
|
||||
pheader->gl_texturenum[i][3] = loadtextureimage("models/weapons/m1911/v_biatch.mdl_0", 0, 0, qtrue, GU_LINEAR);
|
||||
|
||||
pskintype = (daliasskintype_t *)((byte *)(pskintype+1) + s);
|
||||
return (void *)pskintype;
|
||||
}
|
||||
}
|
||||
|
||||
for (i=0 ; i<numskins ; i++)
|
||||
|
|
Loading…
Reference in a new issue