summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-12-28 21:12:39 +0100
committerGitHub <noreply@github.com>2019-12-28 21:12:39 +0100
commitebeb09b00931c832ca836c3faf26d35bea70c09f (patch)
tree3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/control
parentMerge pull request #282 from erorcun/erorcun (diff)
parentCPlayerPed & fixes (diff)
downloadre3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.gz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.bz2
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.lz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.xz
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.tar.zst
re3-ebeb09b00931c832ca836c3faf26d35bea70c09f.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/PathFind.cpp2
-rw-r--r--src/control/PathFind.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index 3c16202b..dad879b1 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -309,7 +309,7 @@ CPathFind::CountFloodFillGroups(uint8 type)
if(m_pathNodes[l].group == 0){
m_pathNodes[l].group = n;
if(m_pathNodes[l].group == 0)
- m_pathNodes[l].group = 0x80; // ???
+ m_pathNodes[l].group = INT8_MIN;
m_pathNodes[l].next = node;
node = &m_pathNodes[l];
}
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 0b20ea5a..70b431f6 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -36,7 +36,7 @@ struct CPathNode
uint8 bDisabled : 1;
uint8 bBetweenLevels : 1;
- uint8 group;
+ int8 group;
/* For reference VC:
int16 prevIndex;
int16 nextIndex;