From 25b5a727e855d6bdecef1166cb1a0177261b255c Mon Sep 17 00:00:00 2001 From: signde Date: Thu, 16 Sep 2004 06:17:50 +0000 Subject: (svn r268) -Fix: console-command: script command now stops recording correctly -Fix: network client should not stop sending ready packets anymore [client should not timeout without any reason] --- console_cmds.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'console_cmds.c') diff --git a/console_cmds.c b/console_cmds.c index 2d336b52e..c9fc837fe 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -182,12 +182,11 @@ DEF_CONSOLE_CMD(ConReturn) DEF_CONSOLE_CMD(ConScript) { extern FILE* _iconsole_output_file; - if (_iconsole_output_file!=NULL) { - if (argc<2) return NULL; IConsolePrintF(_iconsole_color_default,"file output complete"); fclose(_iconsole_output_file); } else { + if (argc<2) return NULL; IConsolePrintF(_iconsole_color_default,"file output started to: %s",argv[1]); _iconsole_output_file = fopen(argv[1],"ab"); if (_iconsole_output_file == NULL) IConsoleError("could not open file"); -- cgit v1.2.3-54-g00ecf