diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-09-22 18:16:47 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-10-21 19:33:22 +0200 |
commit | c54bf40ef96806bf836db205f79e60d016b7eee9 (patch) | |
tree | 935dc6f8f18d86f21e6309947d4d09254f4c632a /src/WorldStorage/WorldStorage.cpp | |
parent | cWorld: Move Initialization from Start to the constructor. (diff) | |
download | cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar.gz cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar.bz2 cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar.lz cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar.xz cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.tar.zst cuberite-c54bf40ef96806bf836db205f79e60d016b7eee9.zip |
Diffstat (limited to 'src/WorldStorage/WorldStorage.cpp')
-rw-r--r-- | src/WorldStorage/WorldStorage.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/WorldStorage/WorldStorage.cpp b/src/WorldStorage/WorldStorage.cpp index 29fe78d4f..7be710c29 100644 --- a/src/WorldStorage/WorldStorage.cpp +++ b/src/WorldStorage/WorldStorage.cpp @@ -60,13 +60,11 @@ cWorldStorage::~cWorldStorage() -bool cWorldStorage::Start(cWorld * a_World, const AString & a_StorageSchemaName, int a_StorageCompressionFactor) +void cWorldStorage::Initialize(cWorld & a_World, const AString & a_StorageSchemaName, int a_StorageCompressionFactor) { - m_World = a_World; + m_World = &a_World; m_StorageSchemaName = a_StorageSchemaName; InitSchemas(a_StorageCompressionFactor); - - return super::Start(); } |