From: divverent Date: Tue, 3 Jan 2012 22:07:54 +0000 (+0000) Subject: argh, sorry for broken copypasta X-Git-Tag: xonotic-v0.6.0~88 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cd4cc9096f9b70fed72586303813f4b0e1c6e3f1;p=xonotic%2Fdarkplaces.git argh, sorry for broken copypasta git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11632 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=d2daf00cd44c7a3be817bfddbf221ff6029f8efb --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 82ffa58a..2aabab63 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -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;