|
|
@ -600,20 +600,3 @@ void Mod_NeedCRC( const char *name, qboolean needCRC ) |
|
|
|
if( needCRC ) SetBits( p->flags, FCRC_SHOULD_CHECKSUM ); |
|
|
|
if( needCRC ) SetBits( p->flags, FCRC_SHOULD_CHECKSUM ); |
|
|
|
else ClearBits( p->flags, FCRC_SHOULD_CHECKSUM ); |
|
|
|
else ClearBits( p->flags, FCRC_SHOULD_CHECKSUM ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
================== |
|
|
|
|
|
|
|
Mod_Handle |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
================== |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
model_t *GAME_EXPORT Mod_Handle( int handle ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if( handle < 0 || handle >= MAX_MODELS ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Con_Reportf( "Mod_Handle: bad handle #%i\n", handle ); |
|
|
|
|
|
|
|
return NULL; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return &mod_known[handle]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|