aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-04-07 15:58:04 -0400
committerGitHub <noreply@github.com>2022-04-07 21:58:04 +0200
commit0b5b2b2633609f646a534d353a2c587af4be46fa (patch)
tree8c8d56ab26b173c57eb2c0cff319eeae2c8e6cab /src/client
parent1348d9aaf834faa613bf3efe3a9d8fee758e85d0 (diff)
downloadminetest-0b5b2b2633609f646a534d353a2c587af4be46fa.tar.gz
minetest-0b5b2b2633609f646a534d353a2c587af4be46fa.tar.bz2
minetest-0b5b2b2633609f646a534d353a2c587af4be46fa.zip
Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle Fixes #12144
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/clientmap.h b/src/client/clientmap.h
index d8554313d..4edad0d20 100644
--- a/src/client/clientmap.h
+++ b/src/client/clientmap.h
@@ -76,9 +76,9 @@ public:
virtual ~ClientMap() = default;
- s32 mapType() const
+ bool maySaveBlocks() override
{
- return MAPTYPE_CLIENT;
+ return false;
}
void drop()