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 ];
|
||||
|
||||
if (!model || model->type != mod_brush)
|
||||
// 1999-10-07 MOVETYPE_PUSH fix by LordHavoc/Maddes start
|
||||
// Sys_Error ("MOVETYPE_PUSH with a non bsp model");
|
||||
Sys_Error ("SOLID_BSP with a non bsp model");
|
||||
if (!model || model->type != mod_brush){
|
||||
Con_Printf ("WARNING: SOLID_BSP with a non bsp model\n Changing it to SOLID_NOT\n");
|
||||
ent->v.solid = SOLID_NOT;
|
||||
}
|
||||
// 1999-10-07 MOVETYPE_PUSH fix by LordHavoc/Maddes end
|
||||
|
||||
VectorSubtract (maxs, mins, size);
|
||||
|
|
|
@ -4422,7 +4422,7 @@ void R_DrawFlares (void)
|
|||
{
|
||||
p->alphavel = -1.74;
|
||||
}
|
||||
model_t *hello;
|
||||
|
||||
if ((p->model = Mod_ForName("particle.spr", false)))
|
||||
{
|
||||
currentflare = p;
|
||||
|
|
Loading…
Reference in a new issue