Fixed wrong area portal writing

This commit is contained in:
smallmodel 2023-11-27 19:37:29 +01:00
parent 7fdd26c59e
commit ac6b5ef1f7
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -479,7 +479,7 @@ CM_WritePortalState
void CM_WritePortalState( fileHandle_t f )
{
FS_Write( &cm.numAreas, sizeof( int ), f );
FS_Write( &cm.areaPortals, cm.numAreas * cm.numAreas * sizeof( *cm.areaPortals ), f );
FS_Write( cm.areaPortals, cm.numAreas * cm.numAreas * sizeof( *cm.areaPortals ), f );
}
/*