]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 3 Jan 2012 23:49:04 +0000 (00:49 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11632 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d2daf00cd44c7a3be817bfddbf221ff6029f8efb

prvm_cmds.c

index 82ffa58a80cb6b70f61b114f5de67389a36bfda0..2aabab63f9325219d3c297684159bb14dee890e9 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(p, 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;