Removed old cubemap lighting
This commit is contained in:
parent
ccf9bb5301
commit
0f167c5fb8
1 changed files with 2 additions and 2 deletions
|
@ -658,7 +658,7 @@ void CL_RelinkEntities (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ent->skinnum >= 16) {
|
if (ent->skinnum >= 16) {
|
||||||
dl->filtercube = R_CubeMapLookup(ent->skinnum);
|
dl->filtercube = ent->skinnum;
|
||||||
} else {
|
} else {
|
||||||
dl->filtercube = 0;
|
dl->filtercube = 0;
|
||||||
}
|
}
|
||||||
|
@ -721,7 +721,7 @@ void CL_RelinkEntities (void)
|
||||||
dl->owner = ent;
|
dl->owner = ent;
|
||||||
//PENTA: Hack give the lava ball a lava cube map
|
//PENTA: Hack give the lava ball a lava cube map
|
||||||
if (!strcmp (ent->model->name, "progs/lavaball.mdl")) {
|
if (!strcmp (ent->model->name, "progs/lavaball.mdl")) {
|
||||||
dl->filtercube = R_CubeMapLookup(17);
|
dl->filtercube = 0;
|
||||||
dl->color[0] = 1;
|
dl->color[0] = 1;
|
||||||
dl->color[1] = 1;
|
dl->color[1] = 1;
|
||||||
dl->color[2] = 1;
|
dl->color[2] = 1;
|
||||||
|
|
Loading…
Reference in a new issue