From: Samual Date: Tue, 3 Jan 2012 19:21:00 +0000 (-0500) Subject: Fix compile error for VM_getimagesize X-Git-Tag: xonotic-v0.6.0~89 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7f0a5ef02c16d7ad821be13c7705bc0ebdaeee6a;p=xonotic%2Fdarkplaces.git Fix compile error for VM_getimagesize --- diff --git a/prvm_cmds.c b/prvm_cmds.c index f3f38d62..82ffa58a 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( Draw_CachePic_Flags(p, 0)->tex == r_texture_notexture ) { PRVM_G_VECTOR(OFS_RETURN)[0] = 0; PRVM_G_VECTOR(OFS_RETURN)[1] = 0;