From fbc84c2aad8afbf83bb75bf78af449b34a3bbc2b Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sat, 11 Feb 2017 22:53:03 +0100 Subject: [PATCH] Fix location for the worlds --- src/decio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decio.cpp b/src/decio.cpp index 1831adc..505d285 100644 --- a/src/decio.cpp +++ b/src/decio.cpp @@ -191,7 +191,7 @@ bool CDecor::Read(int rank, bool bUser, int &world, int &time, int &total) } else { - sprintf(filename, "data/world%.3d.blp", rank); + sprintf(filename, (GetBaseDir () + "data/world%.3d.blp").c_str (), rank); } file = fopen(filename, "rb");