typo
Build (Windows x64) / build (push) Canceled after 0s
Build (Windows x64) / linux-build (push) Canceled after 0s

This commit is contained in:
luis
2026-08-20 06:13:30 -03:00
parent 108a7e7ff5
commit e15b30e009
+6 -4
View File
@@ -2069,10 +2069,12 @@ void Garrison::AddMission(uint32 garrMissionId)
mission.PacketInfo.OfferTime = GameTime::GetGameTime();
mission.PacketInfo.OfferDuration = Seconds(missionEntry->OfferDuration);
// Sentinel StartTime for an offered (not-yet-started) mission. The client keys "offered" off
// MissionState == 0 and does not render a start timer for it, but the value should still match
// retail's far-PAST sentinel (~year 0) rather than the old far-FUTURE ~2042 value (2288912640),
// which could render as a bogus future start if a client ever read it.
mission.PacketInfo.StartTime = time_t(-62169984000);
// MissionState == 0 and does not render a start timer for it, but the value should still be a
// far-PAST sentinel rather than the old far-FUTURE ~2042 value (2288912640), which could render
// as a bogus future start if a client ever read it. 0 (1970) is used instead of retail's ~year 0
// negative sentinel because character_garrison_missions.startTime is bigint UNSIGNED (a negative
// sentinel fails MySQL errno 1264 on INSERT).
mission.PacketInfo.StartTime = 0;
// Command Table tier 2 (GarrAbility 1273 'Strategic Genius', GarrAbilityEffect 1843: AbilityAction 17,
// ActionValueFlat 0.75) multiplies the travel duration of a Shadowlands adventure. Applied at offer time so
// the discounted value is what persists and round-trips (character_garrison_missions.travelDuration).