Decompile fn_23489 (CSession::Init)
Batch #17732 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_23489 CSession::Init: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, cremane 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
02b89a2af6
commit
c982cc0249
1 changed files with 4 additions and 4 deletions
|
|
@ -3075,8 +3075,8 @@ void CSession::Init() {
|
|||
this->ClearPairValues(1, 1, 1);
|
||||
|
||||
this->m_lockItemDrop = false;
|
||||
for (std::list<ITEM_INFO>& items : this->inventoryCategories) {
|
||||
items.erase(items.begin(), items.end());
|
||||
for (int index = 0; index < 11; ++index) {
|
||||
this->inventoryCategories[index].erase(this->inventoryCategories[index].begin(), this->inventoryCategories[index].end());
|
||||
}
|
||||
|
||||
this->replayPacketMode = 0;
|
||||
|
|
@ -3087,8 +3087,8 @@ void CSession::Init() {
|
|||
*reinterpret_cast<int*>(&this->itemSelectionState[0x08]) = 0;
|
||||
this->mainShortcutRow = 0;
|
||||
this->alternateShortcutRow = 0;
|
||||
for (ITEM_INFO& item : this->selectionItems) {
|
||||
item.Reset();
|
||||
for (int index = 0; index < 5; ++index) {
|
||||
this->selectionItems[index].Reset();
|
||||
}
|
||||
|
||||
this->achievementResult = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue