git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12609
d7cf8633-e32d-0410-b094-
e92efae38249
for (modelsurfacelistindex = 0;modelsurfacelistindex < modelnumsurfaces;modelsurfacelistindex++)
{
surface = model->data_surfaces + modelsurfacelist[modelsurfacelistindex];
- if (surfacesides && !(surfacesides[modelsurfacelistindex] && (1 << side)))
+ if (surfacesides && !(surfacesides[modelsurfacelistindex] & (1 << side)))
continue;
rsurface.texture = R_GetCurrentTexture(surface->texture);
if (rsurface.texture->currentmaterialflags & MATERIALFLAG_NOSHADOW)