SOLID_BSP error workaround
This commit is contained in:
parent
4222820abe
commit
00034d7a7f
2 changed files with 6 additions and 6 deletions
|
@ -141,10 +141,10 @@ hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset)
|
||||||
|
|
||||||
model = sv.models[ (int)ent->v.modelindex ];
|
model = sv.models[ (int)ent->v.modelindex ];
|
||||||
|
|
||||||
if (!model || model->type != mod_brush)
|
if (!model || model->type != mod_brush){
|
||||||
// 1999-10-07 MOVETYPE_PUSH fix by LordHavoc/Maddes start
|
Con_Printf ("WARNING: SOLID_BSP with a non bsp model\n Changing it to SOLID_NOT\n");
|
||||||
// Sys_Error ("MOVETYPE_PUSH with a non bsp model");
|
ent->v.solid = SOLID_NOT;
|
||||||
Sys_Error ("SOLID_BSP with a non bsp model");
|
}
|
||||||
// 1999-10-07 MOVETYPE_PUSH fix by LordHavoc/Maddes end
|
// 1999-10-07 MOVETYPE_PUSH fix by LordHavoc/Maddes end
|
||||||
|
|
||||||
VectorSubtract (maxs, mins, size);
|
VectorSubtract (maxs, mins, size);
|
||||||
|
|
|
@ -4422,7 +4422,7 @@ void R_DrawFlares (void)
|
||||||
{
|
{
|
||||||
p->alphavel = -1.74;
|
p->alphavel = -1.74;
|
||||||
}
|
}
|
||||||
model_t *hello;
|
|
||||||
if ((p->model = Mod_ForName("particle.spr", false)))
|
if ((p->model = Mod_ForName("particle.spr", false)))
|
||||||
{
|
{
|
||||||
currentflare = p;
|
currentflare = p;
|
||||||
|
|
Loading…
Reference in a new issue