mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-06 19:01:04 +03:00
Fixed TIKI_LoadSetupCaseHeader() not using case value properly
This commit is contained in:
parent
e76837b42c
commit
1f0418a9cd
1 changed files with 2 additions and 2 deletions
|
@ -788,7 +788,7 @@ qboolean TIKI_LoadSetupCaseHeader( dtiki_t *tiki, const char *filename, dloadsur
|
||||||
break;
|
break;
|
||||||
|
|
||||||
val = keyValues->find( key );
|
val = keyValues->find( key );
|
||||||
if( val && !stricmp( key.c_str(), val->c_str() ) )
|
if( val && !stricmp(val->c_str(), value) )
|
||||||
{
|
{
|
||||||
match = true;
|
match = true;
|
||||||
}
|
}
|
||||||
|
@ -853,7 +853,7 @@ qboolean TIKI_LoadSetupCase( dtiki_t *tiki, const char *filename, dloadsurface_t
|
||||||
if( skip )
|
if( skip )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if( tiki->numMeshes >= 12 )
|
if( tiki->numMeshes >= MAX_SKELMODELS )
|
||||||
{
|
{
|
||||||
TIKI_Error( "^~^~^ TIKI_LoadSetup: too many skelmodels in %s.\n", filename );
|
TIKI_Error( "^~^~^ TIKI_LoadSetup: too many skelmodels in %s.\n", filename );
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue