summaryrefslogtreecommitdiff
path: root/src/hexen/st_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/st_start.c')
-rw-r--r--src/hexen/st_start.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/hexen/st_start.c b/src/hexen/st_start.c
index cd89484b..1f3cca1f 100644
--- a/src/hexen/st_start.c
+++ b/src/hexen/st_start.c
@@ -271,25 +271,10 @@ void ST_NetDone(void)
void ST_Message(char *message, ...)
{
va_list argptr;
- char buffer[80];
va_start(argptr, message);
- vsprintf(buffer, message, argptr);
+ vprintf(message, argptr);
va_end(argptr);
-
- if (strlen(buffer) >= 80)
- {
- I_Error("Long debug message has overwritten memory");
- }
-
-#ifdef __WATCOMC__
- if (debugmode)
- {
- printf(buffer);
- }
-#else
- printf(buffer);
-#endif
}
//==========================================================================
@@ -301,18 +286,10 @@ void ST_Message(char *message, ...)
void ST_RealMessage(char *message, ...)
{
va_list argptr;
- char buffer[80];
va_start(argptr, message);
- vsprintf(buffer, message, argptr);
+ vprintf(message, argptr);
va_end(argptr);
-
- if (strlen(buffer) >= 80)
- {
- I_Error("Long debug message has overwritten memory\n");
- }
-
- printf(buffer); // Always print these messages
}