diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:50:17 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:50:17 +0200 |
commit | 7f5058f1872e1ecc2ea9b897e32708903480e702 (patch) | |
tree | eb413f839b0e36c1bc05cb3c3e6bf2435a70810c /src/Mobs/Behaviors/Behavior.cpp | |
parent | Merge branch 'master' into mobs2 (diff) | |
download | cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.gz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.bz2 cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.lz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.xz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.zst cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.zip |
Diffstat (limited to 'src/Mobs/Behaviors/Behavior.cpp')
-rw-r--r-- | src/Mobs/Behaviors/Behavior.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Mobs/Behaviors/Behavior.cpp b/src/Mobs/Behaviors/Behavior.cpp index 695343732..86922427f 100644 --- a/src/Mobs/Behaviors/Behavior.cpp +++ b/src/Mobs/Behaviors/Behavior.cpp @@ -1,8 +1,7 @@ #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Behavior.h" - - +#include "../Monster.h" @@ -76,7 +75,7 @@ void cBehavior::PreTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) -void cBehavior::onRightClicked() +void cBehavior::OnRightClicked(cPlayer & a_Player) { LOGD("ERROR: Called onRightClicked on a behavior that doesn't have one."); ASSERT(1 == 0); |