diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Minecart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index fbe4f756e..3ddcea6ee 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -137,7 +137,7 @@ void cMinecart::HandlePhysics(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) return; } - auto relPos = a_Chunk.AbsoluteToRelative(GetPosition()); + auto relPos = cChunkDef::AbsoluteToRelative(GetPosition()); auto chunk = a_Chunk.GetRelNeighborChunkAdjustCoords(relPos); if (chunk == nullptr) { |