mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-20 06:46:00 +00:00
- Updated win32 project
- Fixed VC compile errors
This commit is contained in:
@@ -345,7 +345,7 @@ bool rcBuildHeightfieldLayers(rcContext* ctx, rcCompactHeightfield& chf,
|
||||
}
|
||||
|
||||
// Merge non-overlapping regions that are close in height.
|
||||
const int mergeHeight = walkableHeight * 4;
|
||||
const unsigned short mergeHeight = (unsigned short)walkableHeight * 4;
|
||||
|
||||
for (int i = 0; i < nregs; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user