diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-07-11 00:56:25 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2022-07-19 23:33:09 +0200 |
commit | 284f54ed81186d3122b994db7395e870703efb4f (patch) | |
tree | 51a4b5c4a7e9fdde460c84117ea8f9ea6ed97393 /src/Items/ItemLilypad.h | |
parent | Move LineBlockTracer into Physics (diff) | |
download | cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar.gz cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar.bz2 cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar.lz cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar.xz cuberite-284f54ed81186d3122b994db7395e870703efb4f.tar.zst cuberite-284f54ed81186d3122b994db7395e870703efb4f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemLilypad.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemLilypad.h b/src/Items/ItemLilypad.h index f13212b07..10bc5f75a 100644 --- a/src/Items/ItemLilypad.h +++ b/src/Items/ItemLilypad.h @@ -3,7 +3,7 @@ #include "ItemHandler.h" #include "../Entities/Player.h" -#include "../LineBlockTracer.h" +#include "../Physics/Tracers/LineBlockTracer.h" @@ -89,7 +89,7 @@ public: } class cCallbacks: - public cBlockTracer::cCallbacks + public BlockTracerCallbacks { public: @@ -118,7 +118,7 @@ public: const auto EyePosition = a_Player->GetEyePosition(); const auto End = EyePosition + a_Player->GetLookVector() * 5; - if (cLineBlockTracer::Trace(*a_Player->GetWorld(), Callbacks, EyePosition, End)) + if (LineBlockTracer::Trace(*a_Player->GetWorld(), Callbacks, EyePosition, End)) { // The line traced to completion; no suitable water was found: return false; |