CPlayerPed & fixes

This commit is contained in:
eray orçunus
2019-12-27 01:15:27 +03:00
parent 458ae30b6f
commit bb5e31470d
9 changed files with 364 additions and 17 deletions

View File

@ -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];
}

View File

@ -36,7 +36,7 @@ struct CPathNode
uint8 bDisabled : 1;
uint8 bBetweenLevels : 1;
uint8 group;
int8 group;
/* For reference VC:
int16 prevIndex;
int16 nextIndex;