1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Disentangle map implementations (#12148)

Fixes violation of Liskov substitution principle
Fixes #12144
This commit is contained in:
Jude Melton-Houghton
2022-04-07 15:58:04 -04:00
committed by GitHub
parent 1348d9aaf8
commit 0b5b2b2633
6 changed files with 57 additions and 57 deletions

View File

@@ -76,9 +76,9 @@ public:
virtual ~ClientMap() = default;
s32 mapType() const
bool maySaveBlocks() override
{
return MAPTYPE_CLIENT;
return false;
}
void drop()