diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-04-07 15:58:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 21:58:04 +0200 |
commit | 0b5b2b2633609f646a534d353a2c587af4be46fa (patch) | |
tree | 8c8d56ab26b173c57eb2c0cff319eeae2c8e6cab /src/client | |
parent | 1348d9aaf834faa613bf3efe3a9d8fee758e85d0 (diff) | |
download | minetest-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.h | 4 |
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() |