Properly deprecate more XYZ parameter'd functions (#5147)

* Fixes #5144
This commit is contained in:
Tiger Wang
2021-03-15 02:28:18 +00:00
committed by GitHub
parent c729d7abde
commit 45591cbe7b
22 changed files with 530 additions and 296 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ void cBoat::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
return;
}
if (IsBlockWater(m_World->GetBlock(POSX_TOINT, POSY_TOINT, POSZ_TOINT)))
if (IsBlockWater(m_World->GetBlock(POS_TOINT)))
{
if (GetSpeedY() < 2)
{