summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Squid.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 00:58:51 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 00:58:51 +0100
commitfd7fc7e59efebd6b28012c8e8433f53ac853c555 (patch)
treefa4379ca71f8bd716be09bf2daad914e8649a277 /src/Mobs/Squid.h
parentFixed a generator bug (diff)
downloadcuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.gz
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.bz2
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.lz
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.xz
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.zst
cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Squid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Squid.h b/src/Mobs/Squid.h
index ad299b95c..a9dba8b70 100644
--- a/src/Mobs/Squid.h
+++ b/src/Mobs/Squid.h
@@ -21,6 +21,9 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+ // Squids do not drown (or float)
+ virtual void HandleAir(void) override {}
+ virtual void SetSwimState(cChunk & a_Chunk) override {}
} ;