mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
Gnnrgh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3441 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9b091baae9
commit
25b5732ec7
1 changed files with 2 additions and 2 deletions
|
@ -1624,7 +1624,7 @@ static qboolean GenerateCollisionMesh(world_t *world, model_t *mod, wedict_t *ed
|
|||
for (sno = 0; sno < mod->nummodelsurfaces; sno++)
|
||||
{
|
||||
surf = &mod->surfaces[sno+mod->firstmodelsurface];
|
||||
if (surf->flags & SURF_DRAWSKY|SURF_DRAWTURB)
|
||||
if (surf->flags & (SURF_DRAWSKY|SURF_DRAWTURB))
|
||||
continue;
|
||||
|
||||
if (surf->mesh)
|
||||
|
@ -1651,7 +1651,7 @@ static qboolean GenerateCollisionMesh(world_t *world, model_t *mod, wedict_t *ed
|
|||
for (sno = 0; sno < mod->nummodelsurfaces; sno++)
|
||||
{
|
||||
surf = &mod->surfaces[sno+mod->firstmodelsurface];
|
||||
if (surf->flags & SURF_DRAWSKY|SURF_DRAWTURB)
|
||||
if (surf->flags & (SURF_DRAWSKY|SURF_DRAWTURB))
|
||||
continue;
|
||||
|
||||
if (surf->mesh)
|
||||
|
|
Loading…
Reference in a new issue