Added checksum return parameter in CL_CM_LoadMap for cgame

This commit is contained in:
smallmodel 2023-08-28 20:28:59 +02:00
parent 7433677ead
commit acc8081ef2
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 5 additions and 5 deletions

View file

@ -435,10 +435,10 @@ CL_CM_LoadMap
Just adds default parameters that cgame doesn't need to know about
====================
*/
void CL_CM_LoadMap( const char *mapname ) {
int checksum;
CM_LoadMap( mapname, qtrue, &checksum );
void CL_CM_LoadMap( const char *mapname, int *checksum ) {
CM_LoadMap( mapname, qtrue, checksum );
// prepare world vis data
re.SetWorldVisData(CM_VisibilityPointer());
}
/*