diff options
author | erorcun <erayorcunus@gmail.com> | 2019-12-28 21:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-28 21:12:39 +0100 |
commit | ebeb09b00931c832ca836c3faf26d35bea70c09f (patch) | |
tree | 3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/control | |
parent | Merge pull request #282 from erorcun/erorcun (diff) | |
parent | CPlayerPed & fixes (diff) | |
download | re3-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 '')
-rw-r--r-- | src/control/PathFind.cpp | 2 | ||||
-rw-r--r-- | src/control/PathFind.h | 2 |
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; |