summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-11 13:05:41 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-11 13:05:41 +0300
commit68779a4dac2beda28c0b5ae520b8eb81b5cede1c (patch)
tree3d34135a999753b9fe3a6d4bd6b6e55e700f64ca
parent49ad471b2d81f4ef9862e7bbcf35ac9eea9a6017 (diff)
small fix
-rw-r--r--src/control/PathFind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index b357e085..14aead04 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -1529,7 +1529,7 @@ CPathFind::GeneratePedCreationCoors(float x, float y, float minDist, float maxDi
int i;
int node1, node2;
float node1_dist, node2_dist;
- static uint32 node_cnt;
+ static int32 node_cnt;
if(m_numPedPathNodes == 0)
return false;