From 700bbdabf53ab3b47151271526570f4a862b87f2 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Tue, 29 Aug 2017 21:29:06 +0100 Subject: SetSwimState now takes into account head height This affects m_IsSubmerged and IsSubmerged() for entities of all types. Also prevent squids from suffocating in water. --- src/Mobs/Squid.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Mobs/Squid.h') diff --git a/src/Mobs/Squid.h b/src/Mobs/Squid.h index 590c50495..aeeec77df 100644 --- a/src/Mobs/Squid.h +++ b/src/Mobs/Squid.h @@ -23,7 +23,6 @@ public: // Squids do not drown (or float) virtual void HandleAir(void) override {} - virtual void SetSwimState(cChunk & a_Chunk) override {} } ; -- cgit v1.2.3