summaryrefslogtreecommitdiffstats
path: root/rogue/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'rogue/pathnames.h')
-rw-r--r--rogue/pathnames.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rogue/pathnames.h b/rogue/pathnames.h
index d6e91a57..e27f6d09 100644
--- a/rogue/pathnames.h
+++ b/rogue/pathnames.h
@@ -31,5 +31,7 @@
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
*/
-#define _PATH_SCOREFILE "/var/games/rogue.scores"
+#include "config.h"
+
+#define _PATH_SCOREFILE LOCALSTATEDIR"/games/rogue.scores"
#define _PATH_SCREENDUMP "rogue.screen"