mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Reverted r2209...
This commit is contained in:
parent
93d1d0f83e
commit
34b22e9119
1 changed files with 8 additions and 3 deletions
|
@ -108,6 +108,10 @@ qhandle_t R_RegisterMD3(const char *name, model_t *mod)
|
||||||
return mod->index;
|
return mod->index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
ri.Printf(PRINT_WARNING,"R_RegisterMD3: couldn't load %s\n", name);
|
||||||
|
#endif
|
||||||
|
|
||||||
mod->type = MOD_BAD;
|
mod->type = MOD_BAD;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -143,6 +147,7 @@ qhandle_t R_RegisterMDR(const char *name, model_t *mod)
|
||||||
|
|
||||||
if(!loaded)
|
if(!loaded)
|
||||||
{
|
{
|
||||||
|
ri.Printf(PRINT_WARNING,"R_RegisterMDR: couldn't load mdr file %s\n", name);
|
||||||
mod->type = MOD_BAD;
|
mod->type = MOD_BAD;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -178,6 +183,7 @@ qhandle_t R_RegisterIQM(const char *name, model_t *mod)
|
||||||
|
|
||||||
if(!loaded)
|
if(!loaded)
|
||||||
{
|
{
|
||||||
|
ri.Printf(PRINT_WARNING,"R_RegisterIQM: couldn't load iqm file %s\n", name);
|
||||||
mod->type = MOD_BAD;
|
mod->type = MOD_BAD;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -365,12 +371,11 @@ qhandle_t RE_RegisterModel( const char *name ) {
|
||||||
name, altName );
|
name, altName );
|
||||||
}
|
}
|
||||||
|
|
||||||
return hModel;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ri.Printf(PRINT_WARNING, "WARNING: Failed to load model %s!\n", name);
|
return hModel;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue