summaryrefslogtreecommitdiff
path: root/src/d_dedicated.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_dedicated.c')
-rw-r--r--src/d_dedicated.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/d_dedicated.c b/src/d_dedicated.c
index 100c9b22..defe8083 100644
--- a/src/d_dedicated.c
+++ b/src/d_dedicated.c
@@ -21,6 +21,7 @@
// Code specific to the standalone dedicated server.
//
+#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
@@ -42,29 +43,6 @@ void NET_CL_Run(void)
// In a standalone dedicated server, we don't have a client.
}
-//
-// I_Error
-//
-// We have our own I_Error function for the dedicated server.
-// The normal one does extra things like shutdown graphics, etc.
-
-void I_Error (char *error, ...)
-{
- va_list argptr;
-
- // Message first.
- va_start(argptr,error);
- fprintf(stderr, "Error: ");
- vfprintf(stderr,error,argptr);
- fprintf(stderr, "\n");
- va_end(argptr);
-
- fflush(stderr);
-
- exit(-1);
-}
-
-
void D_DoomMain(void)
{
printf(PACKAGE_NAME " standalone dedicated server\n");