Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle Fixes #12144
This commit is contained in:
committed by
GitHub
parent
1348d9aaf8
commit
0b5b2b2633
@@ -76,9 +76,9 @@ class ClientMap : public Map, public scene::ISceneNode
|
||||
|
||||
virtual ~ClientMap() = default;
|
||||
|
||||
s32 mapType() const
|
||||
bool maySaveBlocks() override
|
||||
{
|
||||
return MAPTYPE_CLIENT;
|
||||
return false;
|
||||
}
|
||||
|
||||
void drop()
|
||||
|
||||
Reference in New Issue
Block a user