summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 23:06:12 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 23:06:12 +0100
commit8ad774790267b7fc76e187a122e37e44dd222e64 (patch)
tree54b969accc23bcabd5b0724e369872d5f67d644d /source/WorldStorage/WSSAnvil.cpp
parentFixed boolean comparison. (diff)
downloadcuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar.gz
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar.bz2
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar.lz
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar.xz
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.tar.zst
cuberite-8ad774790267b7fc76e187a122e37e44dd222e64.zip
Diffstat (limited to 'source/WorldStorage/WSSAnvil.cpp')
-rw-r--r--source/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/WorldStorage/WSSAnvil.cpp b/source/WorldStorage/WSSAnvil.cpp
index e588f53e7..e30b3c409 100644
--- a/source/WorldStorage/WSSAnvil.cpp
+++ b/source/WorldStorage/WSSAnvil.cpp
@@ -272,7 +272,7 @@ cWSSAnvil::cWSSAnvil(cWorld * a_World) :
ASSERT(TestParse.IsValid());
#endif // _DEBUG
- gzFile gz = gzopen(fnam.c_str(), "wb");
+ gzFile gz = gzopen((FILE_IO_PREFIX + fnam).c_str(), "wb");
if (gz != NULL)
{
gzwrite(gz, Writer.GetResult().data(), Writer.GetResult().size());