From: havoc Date: Sun, 17 Jun 2018 17:32:36 +0000 (+0000) Subject: Fix a printf bug in Draw_CachePic so it passes path rather than pic X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7c972a8441766a3153eab19a238746c098b6f0fc;p=xonotic%2Fdarkplaces.git Fix a printf bug in Draw_CachePic so it passes path rather than pic git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12436 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_draw.c b/gl_draw.c index a97d33d9..fa7a8e06 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -116,7 +116,7 @@ cachepic_t *Draw_CachePic_Flags(const char *path, unsigned int cachepicflags) } if (!pic->skinframe || !pic->skinframe->base) { - Con_DPrintf("Draw_CachePic(\"%s\"): reloading pic\n", pic); + Con_DPrintf("Draw_CachePic(\"%s\"): reloading pic\n", path); goto reload; } if (!(cachepicflags & CACHEPICFLAG_NOTPERSISTENT))