From 186321d3c780e9b1937c9fb387993f7e5cd9b9b0 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Tue, 29 Aug 2017 21:06:16 +0300 Subject: Agressives wander and don't crash --- src/Mobs/Squid.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Mobs/Squid.h') diff --git a/src/Mobs/Squid.h b/src/Mobs/Squid.h index 42ad6938e..20d87dbca 100644 --- a/src/Mobs/Squid.h +++ b/src/Mobs/Squid.h @@ -2,6 +2,7 @@ #pragma once #include "Monster.h" +#include "Behaviors/BehaviorDoNothing.h" @@ -24,6 +25,9 @@ public: // Squids do not drown (or float) virtual void HandleAir(void) override {} virtual void SetSwimState(cChunk & a_Chunk) override {} + +private: + cBehaviorDoNothing m_BehaviorDoNothing; } ; -- cgit v1.2.3