pkgsrc/games/maelstrom-x11/patches/patch-ag
wiz 6d5dc9656f Re-import of maelstrom as maelstrom-x11 to better show which version it is;
also, the SDL version seems to be the only one that's under development
right now. Requested in pkg/15583 by Ben Wong.
2002-07-11 13:26:12 +00:00

30 lines
844 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $
--- scores.cpp.orig Mon Sep 14 12:06:20 1998
+++ scores.cpp Mon Sep 14 12:08:28 1998
@@ -11,7 +11,7 @@
#include "Maelstrom_Globals.h"
#include "dialog.h"
-#define MAELSTROM_SCORES "Maelstrom-Scores"
+#define MAELSTROM_SCORES "/var/games/Maelstrom-Scores"
#define NUM_SCORES 10 // Do not change this!
/* Everyone can write to scores file if defined to 0 */
@@ -49,7 +49,7 @@
gNetScores = 0;
}
}
- scoresfile = file2libpath(MAELSTROM_SCORES);
+ scoresfile = MAELSTROM_SCORES;
memset(&hScores, 0, sizeof(hScores));
if ( (scores_fp=fopen(scoresfile, "r")) == NULL )
return;
@@ -72,7 +72,7 @@
if ( gNetScores )
return;
- scoresfile = file2libpath(MAELSTROM_SCORES);
+ scoresfile = MAELSTROM_SCORES;
#ifndef __WIN95__
omask=umask(SCORES_PERMMASK);
#endif