Decompile fn_19394 (CNaviData::ResetLinkDepths)
Batch #13330 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_19394 CNaviData::ResetLinkDepths: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
7b6e1f0da3
commit
449ea65a5f
1 changed files with 3 additions and 3 deletions
|
|
@ -180,9 +180,9 @@ done:
|
|||
// OFFSET: 0x00B8A720
|
||||
// FUNCTION: fn_19394
|
||||
void CNaviData::ResetLinkDepths() {
|
||||
for (CNaviInfo* destination : this->destinations) {
|
||||
std::vector<CNavi_Link*>::iterator end = destination->LinksEnd();
|
||||
for (std::vector<CNavi_Link*>::iterator it = destination->LinksBegin(); it != end; ++it) {
|
||||
for (CNaviInfo*& destination : this->destinations) {
|
||||
std::vector<CNavi_Link*>::const_iterator end = destination->LinksEnd();
|
||||
for (std::vector<CNavi_Link*>::const_iterator it = destination->LinksBegin(); it != end; ++it) {
|
||||
(*it)->SetDepth(-1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue