mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-13 04:24:24 +00:00
skin loading is now for developers only - it's debug info..
This commit is contained in:
parent
a21dfa1a3f
commit
2cdef89e82
1 changed files with 6 additions and 2 deletions
|
@ -133,11 +133,15 @@ byte *Skin_Cache (skin_t *skin)
|
|||
//
|
||||
// load the pic from disk
|
||||
//
|
||||
|
||||
if (developer->value)
|
||||
snprintf(name, sizeof(name), "skins/%s.pcx", skin->name);
|
||||
out = LoadPCX (name, &skin->cache, 320, 200);
|
||||
if (out == NULL) {
|
||||
Con_Printf ("Couldn't load skin %s\n", name);
|
||||
snprintf(name, sizeof(name), "skins/%s.pcx", baseskin->string);
|
||||
if (developer->value)
|
||||
snprintf(name, sizeof(name), "skins/%s.pcx",
|
||||
baseskin->string);
|
||||
out = LoadPCX (name, &skin->cache, 320, 200);
|
||||
if (out == NULL) {
|
||||
skin->failedload = true;
|
||||
|
|
Loading…
Reference in a new issue