diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-03-19 23:42:53 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-03-19 23:42:53 +0000 |
commit | decd71cb1e40d423b0a1dd091d5e450bc60a5dc0 (patch) | |
tree | 94b5ff02b927931409e0368ac4b162e90b52dd61 /source/cmodel.c | |
parent | 24d7c0e9a0f06c75903df5943eae3c3199c2ca7b (diff) |
Added `mvd_default_map' variable.
Added `!p' previous target specifier to `follow' command.
Diffstat (limited to 'source/cmodel.c')
-rw-r--r-- | source/cmodel.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/source/cmodel.c b/source/cmodel.c index 5a499e2..07b7dad 100644 --- a/source/cmodel.c +++ b/source/cmodel.c @@ -787,17 +787,19 @@ qboolean CM_LoadMap( cm_t *cm, const char *name, int flags, uint32_t *checksum ) } while( 0 ) // load into heap - CM_LOAD( Visibility, VISIBILITY ); - CM_LOAD( Surfaces, TEXINFO ); - CM_LOAD( Planes, PLANES ); - CM_LOAD( BrushSides, BRUSHSIDES ); - CM_LOAD( Brushes, BRUSHES ); - CM_LOAD( LeafBrushes, LEAFBRUSHES ); - CM_LOAD( AreaPortals, AREAPORTALS ); - CM_LOAD( Areas, AREAS ); - CM_LOAD( Leafs, LEAFS ); - CM_LOAD( Nodes, NODES ); - CM_LOAD( Submodels, MODELS ); + if( !( flags & CM_LOAD_ENTONLY ) ) { + CM_LOAD( Visibility, VISIBILITY ); + CM_LOAD( Surfaces, TEXINFO ); + CM_LOAD( Planes, PLANES ); + CM_LOAD( BrushSides, BRUSHSIDES ); + CM_LOAD( Brushes, BRUSHES ); + CM_LOAD( LeafBrushes, LEAFBRUSHES ); + CM_LOAD( AreaPortals, AREAPORTALS ); + CM_LOAD( Areas, AREAS ); + CM_LOAD( Leafs, LEAFS ); + CM_LOAD( Nodes, NODES ); + CM_LOAD( Submodels, MODELS ); + } #if 0 // Load the entity string from file, if specified |