+++ /dev/null
-diff -Nru 0verkill-0.16/doc/doc.html 0verkill-0.16.new/doc/doc.html
---- 0verkill-0.16/doc/doc.html Sat Dec 15 18:51:39 2001
-+++ 0verkill-0.16.new/doc/doc.html Sat Mar 15 13:23:11 2003
-@@ -204,7 +204,9 @@
- <p><h2><a name="cfg">Configure File</a></h2>
-
- <p>When you run 0verkill client for the first time, <b>.0verkill</b> file
--appears in your home directory. This file contains address of the server, your
-+appears in your home directory. When <b>CONFIG_DIR</b> is set
-+<b>$CONFIG_DIR/0verkill</b> will be used instead.
-+This file contains address of the server, your
- color and name. Everytime you run 0verkill, these values will be taken as
- default.
-
+++ /dev/null
-diff -Nru 0verkill-0.16/cfg.h 0verkill-0.16.new/cfg.h
---- 0verkill-0.16/cfg.h Sat Mar 15 13:01:51 2003
-+++ 0verkill-0.16.new/cfg.h Sat Mar 15 13:08:52 2003
-@@ -32,6 +32,7 @@
- #define LEVEL_SPRITES_SUFFIX ".sp"
-
- #define CFG_FILE ".0verkill"
-+#define CONFIG_DIR_CFG_FILE "0verkill"
-
- #define AREA_X 1000
- #define AREA_Y 500
-diff -Nru 0verkill-0.16/client.c 0verkill-0.16.new/client.c
---- 0verkill-0.16/client.c Sun Dec 16 10:26:38 2001
-+++ 0verkill-0.16.new/client.c Sat Mar 15 13:12:35 2003
-@@ -189,8 +189,12 @@
- FILE *stream;
- int a;
- unsigned char txt[256];
--
-+ char *config_dir;
- #ifndef WIN32
-+ config_dir = getenv("CONFIG_DIR");
-+ if (config_dir) {
-+ sprintf(txt, "%s/%s", config_dir, CONFIG_DIR_CFG_FILE);
-+ } else
- sprintf(txt,"%s/%s",getenv("HOME"),CFG_FILE);
- #else
- sprintf(txt,"./%s",CFG_FILE);
-@@ -221,8 +225,13 @@
- {
- FILE *stream;
- unsigned char txt[256];
--
-+ char *config_dir;
-+
- #ifndef WIN32
-+ config_dir = getenv("CONFIG_DIR");
-+ if (config_dir) {
-+ sprintf(txt, "%s/%s", config_dir, CONFIG_DIR_CFG_FILE);
-+ } else
- sprintf(txt,"%s/%s",getenv("HOME"),CFG_FILE);
- #else
- sprintf(txt,"./%s",CFG_FILE);