Decompile fn_19502 (CNaviInfo::SearchMap)
Batch #17742 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_19502 CNaviInfo::SearchMap: logic confirmed by peer review Peer-reviewed-by: Yommy, cremane, bibinir 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
d09c24e756
commit
0a86eaeb83
1 changed files with 8 additions and 2 deletions
|
|
@ -510,7 +510,10 @@ void CNaviInfo::SearchMap(const std::vector<std::string>& keywords, std::vector<
|
|||
wideKeywords.push_back(std::wstring(buffer));
|
||||
}
|
||||
|
||||
const std::string text = this->name + ' ' + this->title + ' ';
|
||||
std::string text = this->name;
|
||||
text.push_back(' ');
|
||||
text += this->title;
|
||||
text.push_back(' ');
|
||||
MultiByteToWideChar(CP_ACP, 0, text.c_str(), -1, buffer, 100);
|
||||
const std::wstring wideText(buffer);
|
||||
|
||||
|
|
@ -555,7 +558,10 @@ void CNaviInfo::SearchMobs(const std::vector<std::string>& keywords, std::vector
|
|||
}
|
||||
|
||||
std::wstring entryText;
|
||||
const std::string text = this->name + ' ' + this->title + ' ';
|
||||
std::string text = this->name;
|
||||
text.push_back(' ');
|
||||
text += this->title;
|
||||
text.push_back(' ');
|
||||
MultiByteToWideChar(CP_ACP, 0, text.c_str(), -1, buffer, 100);
|
||||
const std::wstring wideText(buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue