mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Sync with upstream (Issue #30).
Recompiled tier1 and mathlib for all platforms will come in next commit.
This commit is contained in:
@ -1271,23 +1271,24 @@ void EndBSPFile (void)
|
||||
|
||||
// Compute bounds after creating disp info because we need to reference it
|
||||
ComputeBoundsNoSkybox();
|
||||
|
||||
|
||||
// Make sure that we have a water lod control eneity if we have water in the map.
|
||||
EnsurePresenceOfWaterLODControlEntity();
|
||||
|
||||
// Doing this here because stuff about may filter out entities
|
||||
UnparseEntities ();
|
||||
|
||||
|
||||
// remove unused texinfos
|
||||
CompactTexinfos();
|
||||
|
||||
// Figure out which faces want macro textures.
|
||||
DiscoverMacroTextures();
|
||||
|
||||
char targetPath[1024];
|
||||
GetPlatformMapPath( source, targetPath, g_nDXLevel, 1024 );
|
||||
Msg ("Writing %s\n", targetPath);
|
||||
WriteBSPFile (targetPath);
|
||||
|
||||
char fileName[1024];
|
||||
V_strncpy( fileName, source, sizeof( fileName ) );
|
||||
V_DefaultExtension( fileName, ".bsp", sizeof( fileName ) );
|
||||
Msg ("Writing %s\n", fileName);
|
||||
WriteBSPFile (fileName);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user