summaryrefslogtreecommitdiff
path: root/games/tanked/patches/patch-ad
blob: 1ad1e5254490436ba22c06c66b376e8439769709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.2 1998/08/07 10:40:43 agc Exp $

--- server/motd.c.orig	Sat Apr 11 18:34:29 1998
+++ server/motd.c	Fri Jul 31 03:47:57 1998
@@ -31,3 +31,3 @@
 
-    if ((mf = fopen("./.motd", "r")) == 0) {
+    if ((mf = fopen(TANKDIR "/motd", "r")) == 0) {
         printf("No motd file, I'm bummed :-(\n");
@@ -47,3 +47,3 @@
     /* read into motd array */
-    mf = fopen("./.motd", "r");
+    mf = fopen(TANKDIR "/motd", "r");
     for (i = 0; i < GLO_motdLines; i++) {