- Updated win32 project

- Fixed VC compile errors
This commit is contained in:
Mikko Mononen
2011-03-25 10:13:27 +00:00
parent 1de5e2f119
commit 76444aa747
10 changed files with 63 additions and 43 deletions
+1 -1
View File
@@ -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)
{