/* <2b0b6> ../engine/hashpak.c:1848 */ void HPAK_CheckIntegrity(char *pakname) { char name[256]; Q_snprintf(name, sizeof(name), "%s", pakname); COM_DefaultExtension(name, HASHPAK_EXTENSION); COM_FixSlashes(name); HPAK_ValidatePak(name); }
void HPAK_CheckIntegrity( const char *filename ) { string pakname; if( !filename || !filename[0] ) return; Q_strncpy( pakname, filename, sizeof( pakname )); FS_StripExtension( pakname ); FS_DefaultExtension( pakname, ".hpk" ); HPAK_ValidatePak( pakname ); }