mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Have HUD acknowledge new weapons gifted from NPCs
This commit is contained in:
1 parent
246d737663
commit
55ca51d8cc
1 file changed
+1
-1
@@ -2330,7 +2330,7 @@ bool aiGiveObjectToChr(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
something = propPickupByPlayer(obj->prop, 0);
|
something = propPickupByPlayer(obj->prop, 1);
|
||||||
propExecuteTickOperation(obj->prop, something);
|
propExecuteTickOperation(obj->prop, something);
|
||||||
playernum = playermgrGetPlayerNumByProp(chr->prop);
|
playernum = playermgrGetPlayerNumByProp(chr->prop);
|
||||||
obj2->hidden = (playernum << 28) | (obj2->hidden & 0x0fffffff);
|
obj2->hidden = (playernum << 28) | (obj2->hidden & 0x0fffffff);
|
||||||
|
|||||||
Reference in new issue
Block a user