diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-18 21:51:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-18 21:51:16 +0300 |
commit | 266773f838c6c0c6f857a7a7fbcbbe8d6333f03b (patch) | |
tree | 5d9b5a74d0faf7c6fc1b253593cc856de11bbb3c /src/utils/physfstools.cpp | |
parent | 07fa80d2c125df1cb716e9535e15aa7cc03761fb (diff) | |
download | manaverse-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.gz manaverse-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.bz2 manaverse-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.xz manaverse-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.zip |
Replace left direct physfs functions calls into physfs namespace functions.
Diffstat (limited to 'src/utils/physfstools.cpp')
-rw-r--r-- | src/utils/physfstools.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index 1424bb2a2..cc17c09b3 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -171,4 +171,14 @@ namespace PhysFs } return true; } + + void permitLinks(const bool val) + { + PHYSFS_permitSymbolicLinks(val ? 1 : 0); + } + + const char *getLastError() + { + return PHYSFS_getLastError(); + } } // namespace PhysFs |