mirror of
https://github.com/alexbatalov/fallout1-ce.git
synced 2024-10-02 21:02:03 +00:00
parent
7bbfa8b7dd
commit
931abf5525
@ -2314,7 +2314,7 @@ Object* inven_right_hand(Object* critter)
|
||||
Inventory* inventory;
|
||||
Object* item;
|
||||
|
||||
if (i_rhand != NULL) {
|
||||
if (i_rhand != NULL && critter == inven_dude) {
|
||||
return i_rhand;
|
||||
}
|
||||
|
||||
@ -2336,7 +2336,7 @@ Object* inven_left_hand(Object* critter)
|
||||
Inventory* inventory;
|
||||
Object* item;
|
||||
|
||||
if (i_lhand != NULL) {
|
||||
if (i_lhand != NULL && critter == inven_dude) {
|
||||
return i_lhand;
|
||||
}
|
||||
|
||||
@ -2358,7 +2358,7 @@ Object* inven_worn(Object* critter)
|
||||
Inventory* inventory;
|
||||
Object* item;
|
||||
|
||||
if (i_worn != NULL) {
|
||||
if (i_worn != NULL && critter == inven_dude) {
|
||||
return i_worn;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user