diff --git a/engine/common/custom.c b/engine/common/custom.c index cf9d0431..1cb8f746 100644 --- a/engine/common/custom.c +++ b/engine/common/custom.c @@ -101,7 +101,7 @@ qboolean COM_CreateCustomization( customization_t *pListHead, resource_t *pResou { if( !FBitSet( flags, FCUST_IGNOREINIT )) { - if( pResource->nDownloadSize >= (1 * 1024) && pResource->nDownloadSize <= ( 16 * 1024 )) + if( pResource->nDownloadSize >= (1 * 1024) && pResource->nDownloadSize <= ( 128 * 1024 )) { pCust->bTranslated = true; pCust->nUserData1 = 0; @@ -112,6 +112,10 @@ qboolean COM_CreateCustomization( customization_t *pListHead, resource_t *pResou else pCust->pInfo = NULL; if( nLumps ) *nLumps = 1; } + else + { + Con_Printf( S_WARN "Ignoring custom decal \"%s\": wrong size (%i bytes)\n", pResource->szFileName, pResource->nDownloadSize ); + } } } }