From c5f87b4c907cc11d078d84cc2d7aa7a271bf8a66 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sun, 17 Nov 2024 09:59:20 +1000 Subject: [PATCH] Fix some require_object_collected objectives not working --- src/game/inv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/inv.c b/src/game/inv.c index 98bf2bed6..5f7bd315c 100644 --- a/src/game/inv.c +++ b/src/game/inv.c @@ -340,6 +340,8 @@ bool invGiveSingleWeapon(s32 weaponnum) { frSetWeaponFound(weaponnum); + g_ObjectivesDirty = true; + if (invHasSingleWeaponExcAllGuns(weaponnum) == 0) { struct invitem *item; @@ -366,6 +368,8 @@ bool invGiveSingleWeapon(s32 weaponnum) bool invGiveDoubleWeapon(s32 weapon1, s32 weapon2) { + g_ObjectivesDirty = true; + if (invHasDoubleWeaponExcAllGuns(weapon1, weapon2) == 0) { if (weaponHasFlag(weapon1, WEAPONFLAG_DUALWIELD)) { struct invitem *item = invFindUnusedSlot();