]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.c
Comment out a line in setmodel again (needs fixing but wasn't in there before anyway)
[xonotic/darkplaces.git] / clvm_cmds.c
index 4f9627393bc604b1df30f985b0c2e12c0ca54057..1c6222a39f0f678bb51ded123124701e62101fdd 100644 (file)
@@ -114,7 +114,7 @@ void VM_CL_setmodel (void)
 
        if( mod ) {
                // TODO: check if this breaks needed consistency and maybe add a cvar for it too?? [1/10/2008 Black]
-               SetMinMaxSize (e, mod->normalmins, mod->normalmaxs);
+               //SetMinMaxSize (e, mod->normalmins, mod->normalmaxs);
        } 
        else
        {
@@ -2464,7 +2464,7 @@ void VM_CL_R_PolygonBegin (void)
                return;
        }
        picname = PRVM_G_STRING(OFS_PARM0);
-       polys->begin_texture = picname[0] ? Draw_CachePic(picname, true)->tex : r_texture_white;
+       polys->begin_texture = picname[0] ? Draw_CachePic (picname)->tex : r_texture_white;
        polys->begin_drawflag = (int)PRVM_G_FLOAT(OFS_PARM1);
        polys->begin_vertices = 0;
        polys->begin_active = true;
@@ -2530,7 +2530,7 @@ void Debug_PolygonBegin(const char *picname, int drawflag)
                Con_Printf("Debug_PolygonBegin: called twice without Debug_PolygonEnd after first\n");
                return;
        }
-       debugPolys.begin_texture = picname[0] ? Draw_CachePic(picname, true)->tex : r_texture_white;
+       debugPolys.begin_texture = picname[0] ? Draw_CachePic (picname)->tex : r_texture_white;
        debugPolys.begin_drawflag = drawflag;
        debugPolys.begin_vertices = 0;
        debugPolys.begin_active = true;