Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-12-05 00:08:25 +08:00
121 changed files with 4818 additions and 1413 deletions

View File

@@ -150,8 +150,7 @@ namespace VMAP
if (info.hitModel->GetLiquidLevel(pModel, zDist))
{
// calculate world height (zDist in model coords):
// assume WMO not tilted (wouldn't make much sense anyway)
liqHeight = zDist * iScale + iPos.z;
liqHeight = (Vector3(pModel.x, pModel.y, zDist) * iInvRot * iScale + iPos).z;
return true;
}
return false;