summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r--src/qcommon/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 0e466d1b..86d0c135 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -285,7 +285,7 @@ void QDECL Com_Error( int code, const char *fmt, ... ) {
// ERR_DROP causes dedicated servers to enter an inoperable state
// instead of crashing completely and being restarted.
- if (com_dedicated->integer > 0)
+ if (com_dedicated && com_dedicated->integer > 0)
code = ERR_FATAL;
va_start (argptr,fmt);