From d2daf00cd44c7a3be817bfddbf221ff6029f8efb Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 3 Jan 2012 22:07:54 +0000 Subject: [PATCH] argh, sorry for broken copypasta git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11632 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2