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~86^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2daf00cd44c7a3be817bfddbf221ff6029f8efb;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 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 6490bf18..c6c930a0 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(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;