Have HUD acknowledge new weapons gifted from NPCs

This commit is contained in:
TartanSpartan committed 2026-02-11 22:25:25 +00:00
1 parent 246d737663
commit 55ca51d8cc
1 file changed
+1 -1
+1 -1
View File
@@ -2330,7 +2330,7 @@ bool aiGiveObjectToChr(void)
}
#endif
something = propPickupByPlayer(obj->prop, 0);
something = propPickupByPlayer(obj->prop, 1);
propExecuteTickOperation(obj->prop, something);
playernum = playermgrGetPlayerNumByProp(chr->prop);
obj2->hidden = (playernum << 28) | (obj2->hidden & 0x0fffffff);