summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/Behavior.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-23 21:31:45 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-23 21:31:45 +0200
commita54cbf40ffa40cd72f20f6491f34e4b2338687dd (patch)
treea0b656e9b890f8268239bea23a12feb8dcaa738b /src/Mobs/Behaviors/Behavior.cpp
parentremoved some attack code from Monster (diff)
downloadcuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar.gz
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar.bz2
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar.lz
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar.xz
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.tar.zst
cuberite-a54cbf40ffa40cd72f20f6491f34e4b2338687dd.zip
Diffstat (limited to 'src/Mobs/Behaviors/Behavior.cpp')
-rw-r--r--src/Mobs/Behaviors/Behavior.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/Behavior.cpp b/src/Mobs/Behaviors/Behavior.cpp
index a8f719f66..7b54a3340 100644
--- a/src/Mobs/Behaviors/Behavior.cpp
+++ b/src/Mobs/Behaviors/Behavior.cpp
@@ -79,3 +79,13 @@ void cBehavior::Destroyed()
LOGD("ERROR: Called Destroyed on a behavior that doesn't have one.");
ASSERT(1 == 0);
}
+
+
+
+
+void cBehavior::DoTakeDamage(TakeDamageInfo & a_TDI)
+{
+ UNUSED(a_TDI);
+ LOGD("ERROR: Called DoTakeDamage on a behavior that doesn't have one.");
+ ASSERT(1 == 0);
+}