]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
argh, sorry for broken copypasta
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 3 Jan 2012 22:07:54 +0000 (22:07 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 3 Jan 2012 22:07:54 +0000 (22:07 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11632 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 6490bf18a5d51513505b54db1f48735a46d3541c..c6c930a0e7d6fc44964220d4f7d742379dda08de 100644 (file)
@@ -3911,7 +3911,7 @@ void VM_getimagesize(prvm_prog_t *prog)
        VM_CheckEmptyString(prog, p);
 
        pic = Draw_CachePic_Flags (p, CACHEPICFLAG_NOTPERSISTENT);
-       if( Draw_CachePic_Flags(s, 0)->tex == r_texture_notexture )
+       if( pic->tex == r_texture_notexture )
        {
                PRVM_G_VECTOR(OFS_RETURN)[0] = 0;
                PRVM_G_VECTOR(OFS_RETURN)[1] = 0;