Use the correct bit field for checking whether or not to decrement progress (#1631)

Tested that the cooking mission with johnny umami now no longer allows you to lose progress by deleting items.
This commit is contained in:
David Markowitz 2024-08-11 10:26:25 -07:00 committed by GitHub
parent aaf446fe6e
commit 94b9731a2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,7 +186,7 @@ void MissionTask::Progress(int32_t value, LWOOBJID associate, const std::string&
if (count < 0) {
if (mission->IsMission() && type == eMissionTaskType::GATHER && InAllTargets(value)) {
if (parameters.size() > 0 && (parameters[0] & 1) != 0) {
if (parameters.size() > 0 && (parameters[0] & 4) != 0) {
return;
}