Batch #6205 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_12833 UISeekPartyWnd::SetJobs: logic confirmed by peer review - fn_12834 UIJobListWnd::RefreshJobs: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, System4z, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Window/UISeekPartyWnd.cpp
17 lines
401 B
C++
17 lines
401 B
C++
#include "UI/Window/UISeekPartyWnd.h"
|
|
|
|
#include "UI/Window/UIJobListWnd.h"
|
|
|
|
#include <utility>
|
|
|
|
// OFFSET: 0x00944B20
|
|
// FUNCTION: fn_12833
|
|
void UISeekPartyWnd::SetJobs(const std::int16_t* jobs) {
|
|
g_partyBookingJobs.clear();
|
|
for (int index = 0; index < 6; ++index) {
|
|
if (jobs[index] < 0) {
|
|
break;
|
|
}
|
|
g_partyBookingJobs.insert(std::pair<const int, bool>(jobs[index], true));
|
|
}
|
|
}
|