mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-24 02:40:41 +01:00
engine: common: delete unused Mod_Handle function
This commit is contained in:
parent
fef0993f54
commit
463997da51
@ -143,7 +143,6 @@ model_t *Mod_ForName( const char *name, qboolean crash, qboolean trackCRC );
|
|||||||
qboolean Mod_ValidateCRC( const char *name, CRC32_t crc );
|
qboolean Mod_ValidateCRC( const char *name, CRC32_t crc );
|
||||||
void Mod_NeedCRC( const char *name, qboolean needCRC );
|
void Mod_NeedCRC( const char *name, qboolean needCRC );
|
||||||
void Mod_FreeUnused( void );
|
void Mod_FreeUnused( void );
|
||||||
model_t *Mod_Handle( int handle );
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// mod_bmodel.c
|
// mod_bmodel.c
|
||||||
|
@ -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];
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user