diff options
| author | kaelima <kaelima@live.se> | 2013-06-27 11:47:55 +0200 |
|---|---|---|
| committer | kaelima <kaelima@live.se> | 2013-06-27 11:48:23 +0200 |
| commit | ec0cb39acb570984f79930c526f909f7ccabb561 (patch) | |
| tree | d198c4eead8424c8907969658fd703a2f23158d0 /src | |
| parent | d58a037512682db6480b80513162143defb3061a (diff) | |
Core/MMAPS: Revert walkableClimb/Height config changes
Fixes movement on some stairs
Needs more research
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/mmaps_generator/MapBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/mmaps_generator/MapBuilder.cpp b/src/tools/mmaps_generator/MapBuilder.cpp index d4192571454..9dfdf95643d 100644 --- a/src/tools/mmaps_generator/MapBuilder.cpp +++ b/src/tools/mmaps_generator/MapBuilder.cpp @@ -518,8 +518,8 @@ namespace MMAP config.walkableRadius = m_bigBaseUnit ? 1 : 2; config.borderSize = config.walkableRadius + 3; config.maxEdgeLen = VERTEX_PER_TILE + 1; // anything bigger than tileSize - config.walkableHeight = m_bigBaseUnit ? 2 : 4; - config.walkableClimb = m_bigBaseUnit ? 1 : 2; // keep less than walkableHeight + config.walkableHeight = m_bigBaseUnit ? 3 : 6; + config.walkableClimb = m_bigBaseUnit ? 2 : 4; // keep less than walkableHeight config.minRegionArea = rcSqr(60); config.mergeRegionArea = rcSqr(50); config.maxSimplificationError = 1.8f; // eliminates most jagged edges (tiny polygons) |
