/* ========== Skin_Skins_f Refind all skins, downloading if needed. ========== */ void Skin_Skins_f (void) { int i; for (i=0 ; i<numskins ; i++) { if (skins[i].cache.data) Cache_Free (&skins[i].cache); } numskins = 0; cls.downloadnumber = 0; cls.downloadtype = dl_skin; Skin_NextDownload (); }
//Refind all skins, downloading if needed. void Skin_Skins_f (void) { int i; for (i = 0; i < numskins; i++) { if (skins[i].cache.data) Cache_Free (&skins[i].cache); } numskins = 0; skins_need_preache = true; // we need precache it ASAP cls.downloadnumber = 0; cls.downloadtype = dl_skin; Skin_NextDownload (); if (cls.mvdplayback == QTV_PLAYBACK && cbuf_current != &cbuf_main) { cls.qtv_donotbuffer = false; } }
/* ========== Skin_Skins_f Refind all skins, downloading if needed. ========== */ void Skin_Skins_f (void) { int i; for (i = 0; i < numskins; i++) { if (skins[i].cache.data) Cache_Free (&skins[i].cache); } numskins = 0; if (cls.state == ca_disconnected) { Con_Printf("%s: no connection to a server.\n", __thisfunc__); return; } cls.downloadnumber = 0; cls.downloadtype = dl_skin; Skin_NextDownload (); }