From 7f0a5ef02c16d7ad821be13c7705bc0ebdaeee6a Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 3 Jan 2012 14:21:00 -0500 Subject: [PATCH] Fix compile error for VM_getimagesize --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2