diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-12-26 23:15:27 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-12-28 21:05:49 +0100 |
commit | bb5e31470da4e74695b18060c7c9947432cc4813 (patch) | |
tree | 3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/control | |
parent | Merge pull request #282 from erorcun/erorcun (diff) | |
download | re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.gz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.bz2 re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.lz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.xz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.zst re3-bb5e31470da4e74695b18060c7c9947432cc4813.zip |
Diffstat (limited to 'src/control')
-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; |