diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 15:48:16 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:55:30 +0200 |
commit | 0b16f845bcabef872b798e69158721b23e6913e3 (patch) | |
tree | 401910feef8ccfcdfb01c56e9d3ecaf2d44dd11c /src/Mobs/Monster.h | |
parent | d (diff) | |
download | cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar.gz cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar.bz2 cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar.lz cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar.xz cuberite-0b16f845bcabef872b798e69158721b23e6913e3.tar.zst cuberite-0b16f845bcabef872b798e69158721b23e6913e3.zip |
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index d62675f2e..309037e3e 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -220,6 +220,7 @@ public: /** Returns if this mob last target was a player to avoid destruction on player quit */ bool WasLastTargetAPlayer() const { return m_WasLastTargetAPlayer; } + bool IsPathFinderActivated() const { return m_p // Behavior getters virtual cBehaviorAggressive * GetBehaviorAggressive(); virtual cBehaviorBreeder * GetBehaviorBreeder(); |