mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Chunks reload fix
This commit is contained in:
parent
c518580577
commit
50aa5fdc70
5 changed files with 8 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ World::~World(){
|
|||
delete wfile;
|
||||
}
|
||||
|
||||
void World::write(Level* level, bool writeChunks) {
|
||||
void World::write(Level* level) {
|
||||
Chunks* chunks = level->chunks;
|
||||
|
||||
for (size_t i = 0; i < chunks->volume; i++) {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public:
|
|||
EngineSettings& settings);
|
||||
~World();
|
||||
|
||||
void write(Level* level, bool writeChunks);
|
||||
void write(Level* level);
|
||||
Level* load(EngineSettings& settings, const Content* content);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue