summaryrefslogtreecommitdiff
path: root/source/sv_ccmds.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-08-16 10:19:42 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-08-16 10:19:42 +0000
commit1526e22e4ff29153e9c127081e8ea8d9e2f33b8c (patch)
treeb361766433d4a7b4a111865afd52803e2bbf7754 /source/sv_ccmds.c
parente826e5f176f21cd18b3bbc22887a266835ada57c (diff)
Split some monolithic include files into smaller ones.
Use single BSP models cache for refresh and collision subsystems. Refresh libraries may not longer be dynamically loaded. Made gi.TagMalloc use separate tag namespace to avoid conflicts with engine reserverd tags. Fixed listing order of MVD channels in chooser menu. A lot of misc changes... MSVC build is definitely broken now.
Diffstat (limited to 'source/sv_ccmds.c')
-rw-r--r--source/sv_ccmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_ccmds.c b/source/sv_ccmds.c
index bf0abe3..a388e16 100644
--- a/source/sv_ccmds.c
+++ b/source/sv_ccmds.c
@@ -41,7 +41,7 @@ static void SV_SetMaster_f( void ) {
int i, j, slot;
char *s;
-#ifndef DEDICATED_ONLY
+#if USE_CLIENT
// only dedicated servers send heartbeats
if( !dedicated->integer ) {
Com_Printf( "Only dedicated servers use masters.\n" );
@@ -233,7 +233,7 @@ static void SV_Map_c( genctx_t *ctx, int argnum ) {
}
static void SV_DumpEnts_f( void ) {
- cmcache_t *c = sv.cm.cache;
+ bsp_t *c = sv.cm.cache;
fileHandle_t f;
char *s, buffer[MAX_QPATH];
@@ -257,7 +257,7 @@ static void SV_DumpEnts_f( void ) {
FS_FOpenFile( buffer, &f, FS_MODE_WRITE );
if( f ) {
- FS_Write( c->entitystring, c->numEntityChars, f );
+ FS_Write( c->entitystring, c->numentitychars, f );
FS_FCloseFile( f );
Com_Printf( "Dumped entity string to %s\n", buffer );
} else {