1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove unused Map::getDayNightDiff + fix one undefined variable in mapblock.cpp

This commit is contained in:
Loic Blot 2017-07-26 23:11:46 +02:00
parent 3e50850260
commit 9d412dd075
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
3 changed files with 2 additions and 68 deletions

View file

@ -216,15 +216,6 @@ public:
bool addNodeWithEvent(v3s16 p, MapNode n, bool remove_metadata = true);
bool removeNodeWithEvent(v3s16 p);
/*
Takes the blocks at the edges into account
*/
bool getDayNightDiff(v3s16 blockpos);
//core::aabbox3d<s16> getDisplayedBlockArea();
//bool updateChangedVisibleArea();
// Call these before and after saving of many blocks
virtual void beginSave() { return; }
virtual void endSave() { return; }