fix(MMAP/core/PathGenerator): Try to fix more water creatures (#13705)

Co-authored-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
Mickaël Mauger
2023-01-02 22:26:12 +01:00
committed by GitHub
parent aae46cc8af
commit 24fa3ba828
4 changed files with 20 additions and 14 deletions

View File

@@ -504,6 +504,10 @@ namespace MMAP
minTLevel = h;
}
// terrain under the liquid?
if (minLLevel > maxTLevel)
useTerrain = false;
//liquid under the terrain?
if (minTLevel > maxLLevel)
useLiquid = false;