mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
Merge pull request #1217 from DarkflameUniverse/pre-req-fix
fix: Fix wisp lee mission
This commit is contained in:
commit
471d65707c
@ -105,9 +105,7 @@ bool PrerequisiteExpression::Execute(const std::unordered_map<uint32_t, Mission*
|
|||||||
|
|
||||||
if (this->sub != 0) {
|
if (this->sub != 0) {
|
||||||
// Special case for one Wisp Lee repeatable mission.
|
// Special case for one Wisp Lee repeatable mission.
|
||||||
a = mission->GetClientInfo().id == 1883 ?
|
a = mission->GetMissionState() == static_cast<eMissionState>(this->sub);
|
||||||
mission->GetMissionState() == static_cast<eMissionState>(this->sub) :
|
|
||||||
mission->GetMissionState() >= static_cast<eMissionState>(this->sub);
|
|
||||||
} else if (mission->IsComplete()) {
|
} else if (mission->IsComplete()) {
|
||||||
a = true;
|
a = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user