mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Fixed a potential crash on SV_Error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3077 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1456ed1ac7
commit
bf63418315
1 changed files with 1 additions and 1 deletions
|
@ -1132,7 +1132,7 @@ trace_t SV_ClipMoveToEntity (edict_t *ent, vec3_t start, vec3_t mins, vec3_t max
|
|||
{
|
||||
model = sv.models[(int)ent->v->modelindex];
|
||||
if (!model || (model->type != mod_brush && model->type != mod_heightmap))
|
||||
SV_Error("SOLID_BSP with non bsp model (classname: %s)", svprogfuncs->stringtable + ent->v->classname);
|
||||
SV_Error("SOLID_BSP with non bsp model (classname: %s)", PR_GetString(svprogfuncs, ent->v->classname));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue