summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-01-04 18:58:43 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-01-04 18:58:43 +0000
commit180f39cb9da6e3169f95e9da5c8782c50f826af4 (patch)
treebdd66467f4d87d0618ddf2d2fcc67b722480cea4 /src/game.cpp
parent0407ba5655db79e81f6fc23d660e37a927b8f7cc (diff)
downloadmana-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.gz
mana-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.bz2
mana-180f39cb9da6e3169f95e9da5c8782c50f826af4.tar.xz
mana-180f39cb9da6e3169f95e9da5c8782c50f826af4.zip
FreeBSD Fixes from Icy.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7f873aef..72dbb0c9 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -344,7 +344,7 @@ bool saveScreenshot(SDL_Surface *screenshot)
do {
screenshotCount++;
filename.str("");
-#ifdef __USE_UNIX98
+#if (defined __USE_UNIX98 || defined __FreeBSD__)
filename << PHYSFS_getUserDir() << "/";
#endif
filename << "TMW_Screenshot_" << screenshotCount << ".png";