diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-17 18:21:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-17 18:21:22 +0300 |
commit | cda39ec9d6a0b5fab2c009046cf3570ab90db20b (patch) | |
tree | cd9d1c5a6abb749d81d7f785917ceb6d0525b898 /src/fs/virtfs/fs.cpp | |
parent | a9d80dc997f95aa17a12e4d797ecc26072a38edb (diff) | |
download | manaplus-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.gz manaplus-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.bz2 manaplus-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.tar.xz manaplus-cda39ec9d6a0b5fab2c009046cf3570ab90db20b.zip |
Improve a bit virtfs based on directories.
Diffstat (limited to 'src/fs/virtfs/fs.cpp')
-rw-r--r-- | src/fs/virtfs/fs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/virtfs/fs.cpp b/src/fs/virtfs/fs.cpp index c6390b914..aa456fb4b 100644 --- a/src/fs/virtfs/fs.cpp +++ b/src/fs/virtfs/fs.cpp @@ -368,7 +368,11 @@ namespace VirtFs return false; } logger->log("Add virtual directory: " + newDir); - addEntry(new DirEntry(newDir, rootDir, subDir, FsDir::getFuncs()), + addEntry(new DirEntry(newDir, + rootDir, + subDir, + rootDir + subDir, + FsDir::getFuncs()), append); return true; } |