]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix a printf bug in Draw_CachePic so it passes path rather than pic
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Jun 2018 17:32:36 +0000 (17:32 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Jun 2018 17:32:36 +0000 (17:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12436 d7cf8633-e32d-0410-b094-e92efae38249

gl_draw.c

index a97d33d9a4064bd44f61a3deb223ddc794cfc8a5..fa7a8e06f90956392895cefcc85f943f64481830 100644 (file)
--- 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))