renders: rename MAX_LBM_HEIGHT to MAX_LBM_WIDTH

This commit is contained in:
Denis Pauk 2024-06-30 14:44:05 +03:00
parent e4849dc9d4
commit 214556728d
2 changed files with 5 additions and 5 deletions

View file

@ -2925,16 +2925,16 @@ Mod_LoadLimits(const char *mod_name, void *extradata, modtype_t type)
pheader = (dmdx_t *)extradata;
if (pheader->skinheight > MAX_LBM_HEIGHT)
if (pheader->skinheight > MAX_LBM_WIDTH)
{
R_Printf(PRINT_ALL, "%s: model %s has a skin taller %d than %d\n",
__func__, mod_name, pheader->skinheight, MAX_LBM_HEIGHT);
__func__, mod_name, pheader->skinheight, MAX_LBM_WIDTH);
}
if (pheader->skinwidth > MAX_LBM_HEIGHT)
if (pheader->skinwidth > MAX_LBM_WIDTH)
{
R_Printf(PRINT_ALL, "%s: model %s has a skin wider %d than %d\n",
__func__, mod_name, pheader->skinwidth, MAX_LBM_HEIGHT);
__func__, mod_name, pheader->skinwidth, MAX_LBM_WIDTH);
}
num_mesh_nodes = pheader->num_meshes;

View file

@ -83,7 +83,7 @@ typedef enum
rserr_unknown
} rserr_t;
#define MAX_LBM_HEIGHT 480
#define MAX_LBM_WIDTH 512
#define DEFAULT_NOLERP_LIST "pics/conchars.* pics/ch1.* pics/ch2. pics/ch3.*"
#define DEFAULT_LMSHIFT 4
#define BACKFACE_EPSILON 0.01