summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBoat.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-07-11 00:56:25 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2022-07-19 23:33:09 +0200
commit284f54ed81186d3122b994db7395e870703efb4f (patch)
tree51a4b5c4a7e9fdde460c84117ea8f9ea6ed97393 /src/Items/ItemBoat.h
parentMove LineBlockTracer into Physics (diff)
downloadcuberite-Megumin.tar
cuberite-Megumin.tar.gz
cuberite-Megumin.tar.bz2
cuberite-Megumin.tar.lz
cuberite-Megumin.tar.xz
cuberite-Megumin.tar.zst
cuberite-Megumin.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemBoat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemBoat.h b/src/Items/ItemBoat.h
index 4fc041787..62d6f546e 100644
--- a/src/Items/ItemBoat.h
+++ b/src/Items/ItemBoat.h
@@ -2,7 +2,7 @@
#pragma once
#include "../Entities/Boat.h"
-#include "../LineBlockTracer.h"
+#include "../Physics/Tracers/LineBlockTracer.h"
@@ -38,7 +38,7 @@ public:
// Find the actual placement position by tracing line of sight until non-air block:
class cCallbacks:
- public cBlockTracer::cCallbacks
+ public BlockTracerCallbacks
{
public:
Vector3d m_Pos;
@@ -62,7 +62,7 @@ public:
} Callbacks;
auto Start = a_Player->GetEyePosition() + a_Player->GetLookVector();
auto End = a_Player->GetEyePosition() + a_Player->GetLookVector() * 5;
- cLineBlockTracer::Trace(*a_World, Callbacks, Start, End);
+ LineBlockTracer::Trace(*a_World, Callbacks, Start, End);
if (!Callbacks.m_HasFound)
{
return false;