aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation/Recast/Source/RecastRasterization.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-06-28 19:51:59 +0200
committerDDuarte <dnpd.dd@gmail.com>2015-06-29 15:52:57 +0100
commita48f8f4de9c0fc8251fdbb90a09be9e64fc6a19e (patch)
tree4df32186bd3a93150021a0592d723d6c51cdad55 /dep/recastnavigation/Recast/Source/RecastRasterization.cpp
parenta51300f8142d5ef2a7965ec4c5be97c5fc1cf33b (diff)
Core/Dependencies: Update recast
Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b Fix 2 warnings. These changes have no effect on MMAPs and it's not needed to re-extact them. (cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6) Conflicts: dep/PackageList.txt
Diffstat (limited to 'dep/recastnavigation/Recast/Source/RecastRasterization.cpp')
-rw-r--r--dep/recastnavigation/Recast/Source/RecastRasterization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/recastnavigation/Recast/Source/RecastRasterization.cpp b/dep/recastnavigation/Recast/Source/RecastRasterization.cpp
index 45a7d35bf3e..c3bda80cd71 100644
--- a/dep/recastnavigation/Recast/Source/RecastRasterization.cpp
+++ b/dep/recastnavigation/Recast/Source/RecastRasterization.cpp
@@ -50,7 +50,7 @@ static rcSpan* allocSpan(rcHeightfield& hf)
// Allocate memory for the new pool.
rcSpanPool* pool = (rcSpanPool*)rcAlloc(sizeof(rcSpanPool), RC_ALLOC_PERM);
if (!pool) return 0;
- pool->next = 0;
+
// Add the pool into the list of pools.
pool->next = hf.pools;
hf.pools = pool;